Oracle Apps Techo-Functional

Wednesday, 5 June 2013

Move Order Status Verification - WIP



Quantity Delivered vs Detailed in Move Order Lines (MTL_TXN_REQUEST_LINES)
A. What tables are used in the move order process?
1) MTL_TXN_REQUEST_HEADERS:Move order headers, this stores the move order number in column (REQUEST_NUMBER). It has a status, but this is not used as much as the lines status to drive functionality.

2) MTL_TXN_REQUEST_LINES: 
Move order lines, this is the one that drives most queries and status checks for the move order as each line can be transacted individually.

3) MTL_MATERIAL_TRANSACTIONS_TEMP:Pending material transactions table also called the transaction temporary table, this holds allocations that act like reservations on inventory. An allocation is where you pick a specific item in inventory down to the lot, locator, serial, revision to move, but you do not actually perform. the move yet.

            1. Create move order:
            Quantity: 10
            Quantity Delivered: NULL
            Quantity Detailed: NULL
            Quantity Required: NULL
            Line Status: 1 (Incomplete)

            2. Approve move order:
            Quantity: 10
            Quantity Delivered: NULL
            Quantity Detailed: NULL
            Quantity Required: NULL
            Line Status: 3 (Approved)

            3. Allocate move order for full quantity:
            Quantity: 10
            Quantity Delivered: NULL
            Quantity Detailed: 10
            Quantity Required: NULL
            Line Status: 3 (Approved)

            4. Transact move order:
            Quantity: 10
            Quantity Delivered: 10
            Quantity Detailed: 10
            Quantity Required: NULL
            Line Status: 5 (Closed)
NOTE: When a move order is allocated, a corresponding record is inserted into the pending table (MTL_MATERIAL_TRANSACTIONS_TEMP as well as lot/serial tables if required).  
When the move order is transacted, the record moves from the pending table to the history table (MTL_MATERIAL_TRANSACTIONS).

a) Example query for linking move orders with the pending table:

SELECT mmtt.transaction_temp_id,
  tol.organization_id,
  toh.request_number,
  toh.header_id,
  tol.line_number,
  tol.line_id,
  tol.inventory_item_id,
  toh.description,
  toh.move_order_type,
  tol.line_status,
  tol.quantity,
  tol.quantity_delivered,
  tol.quantity_detailed
FROM mtl_txn_request_headers toh,
  mtl_txn_request_lines tol,
  mtl_material_transactions_temp mmtt
WHERE toh.header_id = tol.header_id
 AND toh.organization_id = tol.organization_id
 AND tol.line_id = mmtt.move_order_line_id;

b) Example query linking MTL_MATERIAL_TRANSACTIONS to the move order:
SELECT mmt.transaction_id,
  tol.organization_id,
  toh.request_number,
  toh.header_id,
  tol.line_number,
  tol.line_id,
  tol.inventory_item_id,
  toh.description,
  toh.move_order_type,
  tol.line_status,
  tol.quantity,
  tol.quantity_delivered,
  tol.quantity_detailed
FROM mtl_txn_request_headers toh,
  mtl_txn_request_lines tol,
  mtl_material_transactions mmt
WHERE toh.header_id = tol.header_id
 AND toh.organization_id = tol.organization_id

 AND tol.line_id = mmt.move_order_line_id
 AND toh.request_number = '&MONumber';
/
4. Find a Closed Move Order, but No Staged Inventory?
There are times when a move order will close, but the quantity is not moved from finished goods to a staging sub inventory.  The most common case of this is a move order for a sub inventory or item that is NOT reservable.  If the item is not reservable, no inventory is staged and the move order simply closes without doing anything.  However, there are rare occasions when a move order closes without moving quantity to staging but should have.  In the case of a move order related to a sales order, the sales order delivery detail shows picked and Released to Warehouse after the move order is transacted. 
5. What is code for move order status?
The move order table (MTL_TXN_REQUEST_LINES) provides the status of the move order in the LINE_STATUS column as a numeric.  The following lists the various statuses as well as provides a SQL to look them up.
At the time this question was entered, here are a list of the statuses and codes:
        1 Incomplete
        2 Pending Approval
        3 Approved
        4 Not Approved
        5 Closed
        6 Cancelled
        7 Pre-Approved
        8 Partially Approved
        9 Cancelled by Source

Monday, 29 April 2013

Bill Presentment Architecture (BPA) in Oracle Receivables



Bill Presentment Architecture is a responsibility that provides a customized invoice request by customers due to government policies or tax deduction norm. Usually Customer request their vendors to develop invoices in various formats already present in Oracle Application

Bill Presentment Architecture is a responsibility that develops template based configuration of bills for online presentation and printing. In R12 to develop customized bill, it has become simple by creating new items for existing template, creating templates, and assigning the same to a particular customer
Steps to Implement / Creating the New Item Bill Presentment Architecture 

BPA Implementation
Responsibility:
Bill Presentment Super user -> Bill Management
Template management - > Content Item
Press create button


                                 Figure 1 : Bill Presentation Architecture -  Content Item
  
Define the Items fields, description, Display and also define item type whether it will be text or images (like logo, etc.)
     

                              Figure 2 : Bill Presentation Architecture -  Create Content Item

 Press apply to complete it  

 Go to Templates Menu
 Select your template and open

For Edit option, select Update icon to click   in the particular Layout Template

                                               Figure 3 : Bill Presentation Architecture -  List of Templates

Then select particular layout layer (like header, footer, body) - click the “select Content and layout”



Figure 4 : Bill Presentation Architecture -  Template Design layout
 

                                              Figure 5 : Bill Presentation Architecture -  Data Source View

Then Change user Data source view -> custom:None 


                                                 Figure 6 : Bill Presentation Architecture -  Move Data Source View

press Go button,it will be listed out all custom items created, then select your custom item and move . Then Apply

Now your custom item added success full in layout templates design
Here your template will be update is completed.
Now select Interactive
You have to query e.g
  •  Operation Unit - > Vision Operation
  •  Customer Name  -> XXXXX
  •  Select -> Go
Select online preview, to view the template design

Wednesday, 24 April 2013

Barcode font with BI Publisher - Font Creation and Font Mapping in Oracle Apps



Barcode font mapping based on barcode code39 format. You can download the barcode39 below links itself



Login Oracle Instance
Change the Responsibility -> XML Publisher Administrator 

Step::1
Click Home -> under Administrator tab-> Font files ->create font file
Name of the font name is “free 3 to 9” upload the TTF (True Type Font) File


 
Step::2
Navigate to Font Mapping -> Create Font Mapping Set


  1.   Mapping name is the name you will give to a set of fonts.
  2.   Mapping code is the internal name you will give to this set.
  3.  Type: 'PDF Form' for PDF templates. 'FO to PDF' for all other template types

Step::3
Create the Font Mapping (this will allow to add multiple fonts to a set)




 
Font Family is the exact same name you see in Word under Fonts.
If you don't use the same name the font will not be picked up at run-time.
Style and weight must also match how you use the font in windows.
Normal and Normal are good defaults.

Step::4
Now you can navigate to Configuration in left corner





Navigate to Configuration General-> FO Processing
Click the FO Processing and expand
Now select font mapping set file
 



After then apply it
When you the report now it should generate the bar code and if you can print is it and scan the bar code