Sunday, 1 July 2012

What is the difference between "Transaction Open Interface" and "Pending Transactions"


·         Navigate Inventory Responsibility -> Transactions -> Transaction Open Interface

-- This form queries the MTL_TRANSACTIONS_INTERFACE table

·         Navigate Inventory Responsibility -> Transactions -> Pending Transactions

-- This form queries the MTL_MATERIAL_TRANSACTIONS_TEMP table
 

Q. What is the MTL_TRANSACTIONS_INTERFACE table used for?

A. This is the Interface between non-Inventory applications and the Inventory Transactions module.

In other words any other module other than Inventory that wants to update Inventory has to come through this table. Modules such as WIP (Work In Progress) and OE (Order Entry) first pass their records to the MTL_TRANSACTIONS_INTERFACE (MTI) for validation.
The Transactions Manager (INCTCM) reads records from the MTI table, validates them and moves the successful transactions into the MTL_MATERIAL_TRANSACTIONS_TEMP table, and submits Transaction workers (sub-processes - INCTCW) which then process these records through inventory. This process consists of data derivation, validation, and the transfer of records from MTL_TRANSCTIONS_INTERFACE, MTL_TRANSACTIONS_LOTS_INTERFACE and MTL_SERIAL_NUMBERS_INTERFACE into their associated TEMP (temporary) tables from where the transactions processor processes them.


Q. What is the MTL_MATERIAL_TRANSACTIONS_TEMP table used for?

A. The transactions are passed to the MTL_MATERIAL_TRANSACTONS_TEMP table after initial validation by the Transactions Manager (INCTCM) from the MTL_TRANSACTIONS_INTERFACE. A job id is attached and a Transactions Worker (INCTCW) is submitted by the INCTCM process to get the records processed and moved to the MTL_MATERIAL_TRANSACTONS table.
This table is also used by the Inventory and Purchasing modules which write transactions directly into this table after validation.

Inventory Module Forms like the Miscellaneous transactions form write directly into this table. The transactions which are created through this form are via on-line processing. It is from this table that the inventory quantities finally get updated and serial/lot numbers get updated.

Wednesday, 27 June 2012

How to print LPN lables with custom component that is not on mobile device?

Its Normal practice to invoke RTP via
fnd_request.submit_request() function'

But... the main difference is of parameters that we pass...

When we want to invoke the LPN lable printing request then we should use the following parameters in the function call:

fnd_request.submit_request(application => 'PO'
,program => 'RVCTP'
,description => NULL
,start_time => NULL
,sub_request => FALSE
,argument1 => 'BATCH'
,argument2 => v_group_id
,argument3 => g_org_id);


If we are not interested in LPN lables then we can use the above request without following 2 parameters:

1) argument2 => v_group_id
2) argument3 => g_org_id


How To Install (Register) a New Font Using XML Publisher [ID 373377.1]

I have tried to make the barcode output according to the above document ID.
I also got success in printing the barcode in XML output file.
This approach does not take any profile option in consideration.

You need to change the font in RTF file itself. As I did in RTF for LOT Number field.
Please follow this approach.

How to retrieve rules query from database?


  • To retrive the Rule ID:


select * from wms_rules where name = 'Rule Name'





  • To retrieve the exact name of package created by the rule:

select * from all_objects where object_name like '%RULE_ID%'  -- (Rule ID retrived from above query)




  • By default the rule package name is

wms_rule_(RULE_ID)
For eg:
wms_rule_10045