mtl_cst_txn_cost_details table
来源:互联网 发布:ajax从cgi获取数据 编辑:程序博客网 时间:2024/06/09 18:13
MTL_CST_TXN_COST_DETAILS stores the cost of a transaction by element and level.
记录每一笔事务处理的成本;对于每笔库存事务的记录,这个表中有可能有记录,也有可能没记录;对于那些可以手工设定成本的事务处理,在这个表中有记录,例如,录入成本的
等===Fields Relationship===
MTL_CST_TXN_COST_DETAILS.COST_ELEMENT_ID = CST_COST_ELEMENTS.COST_ELEMENT_ID
MTL_CST_TXN_COST_DETAILS.TRANSACTION_ID = MTL_MATERIAL_TRANSACTIONS.TRANSACTION_ID
===Key Fields===
LEVEL_TYPE:this level,previous level
===Scripts===
select transaction_id txn_id, organization_id org_id, inventory_item_id item_id, cost_element_id ce,
level_type lt, transaction_cost txn_cst, value_change v_chg, new_average_cost new_avg
from mtl_cst_txn_cost_details where transaction_id = &transaction_id;
insert into mtl_cst_txn_cost_details (
transaction_id
,organization_id
,cost_element_id
,level_type
,last_update_date
,last_updated_by
,creation_date
,created_by
,last_update_login
,request_id
,program_application_id
,program_id
,program_update_date
,inventory_item_id
,transaction_cost
,new_average_cost
,percentage_change
,value_change)
select
transaction_id
,organization_id
,1
,1
,last_update_date
,last_updated_by
,creation_date
,created_by
,last_update_login
,request_id
,program_application_id
,program_id
,program_update_date
,inventory_item_id
,transaction_cost
,null
,null
,null
from mtl_material_transactions
where transaction_id in (&txn_id );
- mtl_cst_txn_cost_details table
- TABLE
- table
- table
- table
- Table
- table
- TABLE
- table
- Table
- table
- Table
- table
- TABLE
- table
- table
- table
- <table>
- 高效linux用户需要了解的命令行技能
- 对于毕业5年的人来讲,一定要认清即将面临的五大挑战
- 高效学习不是梦,方法你有吗?【转自网络】
- samba服务器的简介与安装
- 第五次上机实验
- mtl_cst_txn_cost_details table
- Cocos2d 摸索[3]: 鼠标点击(手势触摸)事件
- 微录音--Android通话录音(vluyin-callrecorder)一款安卓通话录音软件
- Codeforces Round #181 (Div. 2) A题
- Hive体系结构
- 数据库操作语言HQL
- 基于xmpp协议的多端即时通讯方案
- 织梦未审核的文章仍然生成的问题
- github_项目DEMO创建