details of the four interface

This document was checked for relevance on 25-FEB-2005

PURPOSE

This article provides technical overviews and details of the four interface
managers that can be controlled from the Interface Managers form. as part of the setup procedures:

        1. Material transaction manager
        2. Demand reservation manager
        3. Cost Manager
        3. Move transaction manager
      

SCOPE & APPLICATION

This bulletin is intended for system administrators of Oracle Applications and
users that are involved with setting up Oracle Inventory.


RELATED DOCUMENTS
Oracle Inventory Reference Manual vol.3 - Inventory Transactions
Oracle Inventory User guide Chapter 5 - Transaction Setup




These four managers execute the following processes: material transaction, demand reservation,
resource & material cost transactions and move transactions.
Generally these managers are running continuously at regular process intervals
as determined on starting the managers. They control the number of transaction
workers, processing intervals and number of transactions processed by the
worker.
The mode of operation for these managers is governed by the setting of profile
options prefixed by the letters
TP (transaction processing).

o       for example:

Setting profile TP:INV Transaction Processing Mode to a value of Background
Processing, will mean that Inventory and WIP transactions are periodically
transacted upon by the Material transaction manager. The transaction manager
requests will appear on the concurrent managers queue at regular
processing intervals.


Resolving Problems
------------------
As transactions are processed, the respective inventory and work in progress
tables are updated to reflect these changes. If for some reason the results
viewed in inquiry forms and reports do not reflect these updates, it will then
be necessary to review and correct the errors. This can be done in part using
the Transaction Interface & Pending Transations forms, however there are often cases when
sqlplus will be required to effect a resolution, in these cases it may be
helpful to refer to the notes below.


Material Transaction Interface
------------------------------

o       INCTCM module: Process transactions interface                  

This program processes material transactions following changes in any of the
transactions form. For optimal processing speed the system manager
responsibility should be used to tune the Inventory Manager. The initial
setup for this is defaulted with a single target process setup.

The number of target processes will limit the number of workers available to
the transaction manager, workers can be run in parallel, therefore to
significantly reduce the time taken to process your inventory transactions,
then increase the number of target processes to the maximum allowable within
your system limits. For this request the assistance of your dba, system memory
and central processor performance will be the limiting factors for this target
parameter.

While running, the program: INCTCM, constantly checks for rows in the
interface and interface temporary tables. First checking the interfaces
temporary tables and acting upon these records and then processing the records
in the interface tables, marking these records with header identifiers and
subsequently moving them to the corresponding temporary tables, this process is
repeated each time the workers are started.

For example:
INCTCM polls and transacts upon records held in mtl_transactions_interface,
mtl_transaction_lots_interface,and mtl_serial_numbers_interface moving these to
their respective temp tables, eg: mtl_material_transactions_temp, these are
then processed by the transaction processor, such rows have their lock_flag set
to the value Y.

Different workers are submitted by the transaction processor to process Order
Entry, Work in Progress and Inventory transactions,these are processed in
groups, depending on the value of the flag validation_required,
values 1 or null = detailed validation 2=not detailed processed rows are
assigned a transaction_header_id using the sequence
mtl_material_transactions_s.

o       Records that are ready for selection will have:

transaction_mode=3,   process_flag=1 or Y for mtl_material_transactions_temp
lock_flag=2 or null(or N in mtl_material_transactions_temp)

process_flag has a range of values:       1=ready,2=not ready,3=failed
lock_flag has a range of values:          1=locked 2=not locked,NULL=not locked
transaction_mode has a range of values:   2=immediate mode 3=backgound mode


The rows in mtl_transactions_interface are processed in 5 phases.

1. Derives dependant columns, eg:acct_period_id, primary_quantity etc..
2. Detailed validation performed on the records
3. On hand qty check for negative qty's etc..
4. Reservations Relieved if demand was created in order entry
5. Rows are moved to mtl_material_transactions_temp where the transaction
   processor is called to process these rows and update the inventory levels
   etc..


For more details see vol 3 INV technical reference manual.


o       Resolving Errors:

If an error occurs with the transaction processor, the entire group of records
will be marked with the error code, the actual failing row will contain the
error explanation.

You can access failing rows using Inventory's View Pending Interface Activity
form, additionally you can use this form. to resubmit the records by setting the
'resubmit' flag to yes, this is only appropriate if the error that caused the
failure is unrelated to the interfaces transaction data, eg: database space
problem.

Errors can be determined by viewing columns: error_code and error_explanation
on table mtl_transactions_interface, once the cause has been corrected, use sql
plus to update the process_fag = 1 and the lock_flag = 2 or null

During phases 1-3 above, rows are marked with an error code and explanation,
for phase 4 all records with this header_id will be marked as errored
regardless. For phase 5 all rows will be marked with the same error except for
the single bad row that caused the failure.


Demand Reservation Manager
--------------------------

o       INCDCM module: Process demand interface

The Demand Reservation Manager periodically updates Inventory with the demands
from sales orders shipments.

INCDCM is linked into INVLIBR, the program processes records from
mtl_demand_interface to mtl_demand table. Records held in mtl_demand_interface
need to have process_flag=1 (ready), transaction_mode=3 and error_code = null.

For more details on this program see page 3-812 vol 3 INV technical reference
manual.

o       Resolving Errors:

Regardless of pass or failure, all records failing validation in the interface
table will be marked with an error code.  Columns error_code and
err_explanation can be selected for explanation of the cause. A succesful
demand operation is denoted by error_code=0.

Full errors listings can be determined by selecting, lookup_code and meaning
from the table mfg_lookups where lookup_type='MTL_DEMAND_INTERFACE_ERRORS'

For more details on the table mtl_demand_interface  vol 1 Oracle Inventory
Technical Reference manual.


Material & Resource Cost transaction processor (Cost Manager)
-------------------------------------------------------------
The Cost Manager controls both the Material & Resource Cost Transaction
Processors. This manager starts the processors at the specified process interval
in the launch manager form, The Cost manager itself does not kick off a concurre3nt
request for each of the intervals, the manager only runs (goes from pending to running then
back to pending) once every 24 hours.

Material Cost Processor
-----------------------

o       CMCMCW module: Material Cost Transaction Processor

This program is used to process material transactions for costing in inventory
and WIP products.  This module scans table mtl_material_transactions for uncosted transactions, ie:
where costed_flag='N'& transaction_group_id=NULL. For each transaction found program; INLTCP is called to
process the records.

Note:
If this program is not running then there will be no available Transaction
Distribution details in the Material Distributions inquiry form.  

Selects are made on mtl_serial_numbers_temp, using this info, updates and
inserts will be made on mtl_serial_numbers. When this process is complete, the
records are deleted from mtl_serial_numbers_temp. Similar processes are
carried out on tables mtl_transaction_lots_temp and mtl_lot_numbers

Records are inserted into mtl_transaction_accounts, for the account and the
value of the transactions. On successfully processing the transactions in
mtl_material_transactions_temp, these records are then deleted.

For more details on this program see vol 3 Oracle Inventory Technical Reference manual.

Resource Cost Processor
---------------------

o       CMCCTM module: Resource cost transaction manager

The Resource cost transaction manager processes transactions from Oracle's WIP
in addition to those resource transactions imported from other sorces such as
barcode readers.

The program polls pending transactions in wip_cost_txn_interface and
periodically updates/inserts into the following WIP tables:
wip_transactions, wip_transaction_accounts and wip_period_balances

The program can be run from the command line: CMCCTM bom/bom passwd 0 Y

For more details on this program see Oracle WIP Technical Referance manual.


WIP Move Transaction Manager
----------------------------

o       WICTMS module:

The WIP Move Transaction Manager processes move transactions in Oracle WIP and
move transactions from devices such as bar code readers.

The table wip_move_txn_interface is polled by the program WICTMS to determine
if any transactions are pending validation and or processing.

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/8203880/viewspace-345677/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/8203880/viewspace-345677/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值