壹佰网|ERP100 - 企业信息化知识门户

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1145|回复: 4

[库存|采购|合同|财务] 处理物料接收和发票中的数据精度

[复制链接]
发表于 2007/6/3 09:32:18 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。如果您注册时有任何问题请联系客服QQ: 83569622  。

您需要 登录 才可以下载或查看,没有帐号?注册

x
Go to Db config,将下述字段长度和精度分别设为13和5
do a search for attribute UNITCOST with type DECIMAL
set the fields below to 13 with scale 5
POLINE.RECEIVEDUNITCOST
POLINE.UNITCOST
MATRECTRANS.CURRENCYORDERUNITCOST
MATRECTRANS.INVOICEMATUNITCOST
MATRECTRANS.POUNITCOST
MATRECTRANS.CURRENCYUNITCOST
INVOICELINE.UNITCOST
INVOICECOST.UNITCOST
Leave other costs fields in poline, matrectrans, matusetrans, invoiceline, invoicecost of DECIMAL type to a scale of 2 (out of the box maxdemo has the DECIMAL defaulted to 10,2)
stop app server. Run DBConfig
Create PO 1070, vendor is ATI
Make sure PAYONRECEIPT flag is false
with a line item 560-00 of qty 1, unitcost .25567
tab out of the unitcost field, linecost is rounded to .26
conversion faction is 1, storeroom CENTRAL, no tax
save and Approve PO
go to receiving app
click select ordered item button
select the poline, save. receipt status is now COMPLETE.
25. query the database as below:

SELECT UNITCOST FROM MATRECTRANS WHERE PONUM=\'1070\';

output is .00128

SELECT RECEIVEDUNITCOST FROM POLINE WHERE PONUM = \'1070\';

output:
RECEIVEDUNITCOST
----------------
.26

Create Invoice 1053 for PO 1070, copy poline to it. invoice unitcost is 0.26000

NOTE: Maximo should not be rounding the unit cost in step 25 and 26


There is a Hotfix available for this Issue which requires changing the matrectrans.unitcost to 13,5 via the back end. Please contact Maximo Support to get more information.
 楼主| 发表于 2007/6/3 10:00:22 | 显示全部楼层
偶试了一下上面的方法,觉得说的好像不是很正确,但是告诉大家可以采用这种方法来处理实施中遇见的数据精度问题
发表于 2007/6/18 12:26:01 | 显示全部楼层

回复 #1 snow.lovers 的帖子

学习中。。。。。。。
还限制回复的字数的啊。猛
发表于 2007/8/31 11:10:22 | 显示全部楼层
这样危险性比较高,觉得还是让发票保留两位比较好
发表于 2007/8/31 11:11:30 | 显示全部楼层
楼主能否解释一下
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|小黑屋|手机版|壹佰网 ERP100 ( 京ICP备19053597号-2 )

Copyright © 2005-2012 北京海之大网络技术有限责任公司 服务器托管由互联互通
手机:13911575376
网站技术点击发送消息给对方83569622   广告&合作 点击发送消息给对方27675401   点击发送消息给对方634043306   咨询及人才点击发送消息给对方138011526

GMT+8, 2025/11/29 05:13 , Processed in 0.013577 second(s), 14 queries , File On.

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表