INV_TXN_MANAGER_PUB
0. 这个package 处理MTI 的数据, 包含下面一些 Procedure 和 Function
1. Procedure validate_group(), 输入参数 p_header_id, 这个存储过程会批次的处理同一个 p_header_id 的 MTI 数据. 被 process_transaction() 调用.
2. Procedure validate_lines(), 输入参数 p_header_id, p_validation_level, 这个存储过程会验证 MTI 的单个record. 会调用 process_transaction().
3. Function post_temp_validation(), 输入参数 p_line_rec_type, 这个函数验证 MMTT 的record, 被 process_transaction() 调用.
4. Function get_open_period(), 输入参数 p_org_id, p_trans_date, 这个函数决定了Account Period, 被 validate_lines() 调用.
5. Function process_transaction(), 输入参数 p_table, p_header_id, p_commit, 输出 x_trans_count. 这个函数是 INV Transaction Manager 的接口 API, 负责处理 MTI MTT 的数据.
6. Function tmpinsert(), 输入参数 p_rowid, 这个函数负责把 MTI 的数据插入 MMTT, 被 process_transaction() 调用.
7. Procedure rel_reservations_mrp_update(), 输入参数 p_header_id, p_transaction_temp_id, 这个存储过程负责为MMTT 释放保留量并update MRP 表. 被 BaseTransaction.java 调用.