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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 642|回复: 2

[成本] 有没有API可以插入一条数据进入MTL_MATERIAL_TRANSACTIONS

[复制链接]
发表于 2013/4/11 19:23:49 | 显示全部楼层 |阅读模式

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

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

x
现在我们想往MTL_MATERIAL_TRANSACTIONS插入一条数据,但是客户不让直接insert数据到表里,

我想请问一下有没有相应的API的insert_row来实现这个功能,找了半天没找到
发表于 2013/4/11 20:21:14 | 显示全部楼层
永远不要直接插记录到MMT,可以通过接口表来插库存数据。
http://blog.csdn.net/pan_tian/article/details/8740567

Overview
Inventory Transaction Manager用于处理库存接口表(MTL_TRANSACTION_INTERFACE或者MTL_MATERIAL_TRANSACTIONS_TEMP)中的记录,处理之后最终产生库存事务(MTL_MATERIAL_TRANSACTIONS)。
(补:MTL_MATERIAL_TRANSACTIONS里记录了所有库存事务的历史,是Inventory的最核心的表)

Oracle R12 Inventory有两套接口表:
1.MTL_TRANSACTIONS_INTERFACE (MTI) :主要用于第三方模块(产品)数据的导入,如Order Management, WIP。对应的Form为Transaction Open Interface。


1364649586_8665.jpg
2.MTL_MATERIAL_TRANSACTIONS_TEMP(MMTT):Inventory,Purchasing,WIP,Move Order等相关模块的数据可以绕过MTI,直接写到MMTT中,最终Inventory Transaction Mannager会把这个临时表数据导入到库存事务表(MTL_MATERIAL_TRANSACTIONS)中。

对应的Form为,Pending Transactions Form。

1364649971_4686.jpg

What's Inventory Transaction Manager?Transaction Manager processes all the material and financial movements into, within and out of an organization
Example: PO receipt into an organization or, subinventory transfer from one physical location to another or, sales order issue to a customer
The main function of the inventory module is to track, manage and control the flow of material within, coming from and going out of an organization.
Transaction manager is the core component of the inventory module and is used to process all the transactions for material handling.


Table FlowBasic Flow: MTI -> MMTT -> MMT

1364636450_7513.jpg

Table Values
Refer: TRANSACTION_MODE,LOCK_FLAG,PROCESS_FLAG,TRANSACTION_STATUS in MTI or MMTT, http://blog.csdn.net/pan_tian/article/details/7899178


Inv Manager Code FlowRefer: INV_TXN_MANAGER_PUB.PROCESS_TRANSACTIONS:http://blog.csdn.net/pan_tian/article/details/8289958

INV Transaction Manager Related FilesINV Transaction Manager is the set of procedures(JAVA files and PLS files), which process the variable Inventory transactions like Misc Issue/Receipt, Inter-Org Transfer, and so on.

1364656702_8521.png

How to launch Inventory Interface Manager ManuallyMaterial Transaction一般为定时运行,比如每隔五分钟运行一次。如果需要手工运行,可以参照下面的路径

路径: Inventory > Setup > Transactions > Interface Managers

1364637017_2098.jpg

How to schedule Inventory Interface ManagerRefer:http://blog.csdn.net/pan_tian/article/details/8637819


How to restart Inventory Manager
1.) Login as System Administrator
2.) Concurrent > Manager > Administer
3.) Check/Re-start Inventory Manager,Inventory Remote Procedure Manager
1364655592_4084.jpg

Number of Processes(Workers) for Concurrent Manager Refer:http://blog.csdn.net/pan_tian/article/details/8287861


Inventory Transaction Scripts
Refer: Using script to submit INV Manager to process MTI/MMTT:http://blog.csdn.net/pan_tian/article/details/7711155

发表于 2013/6/19 13:32:23 | 显示全部楼层
透過接口表來操作:MTL_TRANSACTIONS_INTERFACE
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2025/11/29 17:14 , Processed in 0.022802 second(s), 15 queries , File On.

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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