Saturday, December 25, 2010
[PO] Price Column at Purchase Order Lines and Requisition Lines
[ALRT] Manually Trigger a Alert
[PO] Vacation Rules
[SYS] No Organizations Are Currently Defined
After setting a new Operating Unit (OU), I encountered this problem when i tried to open any forms that are related to Inventory Organization.
Steps I used in organization setup (has to be in sequential mode):
(1) Setup new Set of Book
(2) Setup new Location
(3) Setup new Legal Entity
(4) Setup new Operating Unit
(5) Setup new Inventory Organization
(6) Setup new responsibility
(7) Setup Profile Option for new responsibility
Everything is smooth till I click on the "Change Organization" in my new responsibility. It prompted me "No Organizations are currently defined.". These happened to other forms that use inventory organization as well, such as Material Transactions, Receipts, etc.
This has something to do with Organization Access. After checked Organization Access, ORG_ACCESS table is empty. Setup has been verified many times, nothing was missed out.
We finally discovered it was a customization on standard view, ORG_ACCESS_VIEW. This is root cause of the issue.
[SYS] Utilities:Diagnostics
Friday, December 24, 2010
[INV] Copy Item Template
[OM] Cannot Perform Shipping Transactions
[OM] Launch Pick Release Failed
[OM] Where to Setup New Sales Order Type
[SYS] Form Personalizations - Set Property Value for Descriptive Flexfield
[SYS] Form Personalizations - Setting Property Value by Calling a SQL Query
[SYS] Java Cache Caused Internet Explorer Crashed
[OM] Pick List Ship-To Address Not Get Updated
locations from HR/HZ LOCATIONS tables into the WSH_LOCATIONS tables.
This program should be executed at least once when upgrading to 11.5.9. After the
upgrade, it should not be required to rerun this concurrent program since any
changes in the HR/HZ LOCATIONS tables are automatically synced up with WSH
tables.
There are a few exceptions when Import Shipping Locations concurrent program should be run. These exceptions would be only when any updates to a
Customer's information does not get reflected when creating a new sales order
or when you find any inconsistencies in Location records when interfaced from
HR to WSH Locations, such as an incorrect country code..."
Thursday, December 23, 2010
[SYS] Trick - Maximise Form
[AR] Customer - Types & Address
[OM] HL Pick Slip SRS Report -> Completed Warning
How to know if actual picking taken place? Picking could be failed or success even the program completed warning. E.g. For printing issue, even it completed warning, but the stock has been picked.
From Requests list, click on the request, view Output. If there is records there, it was successfully picked. Another faster way, observe the request in the list, if the 4th and 5th parameters have value, it is successful.
[WIP] Missing Item Code in LOV
In order to build an assembly item in WIP, the "Pick Components" check box should NOT be checked (Order Management tab in Item form).
If it is checked, it will not appear in the Assembly LOV when user tried to create a WIP discrete job. It will also not appear in Routing LOV. Anyway, it will still appears in BOM LOV.
[OM] Unable to Pick Release Internal Sales Order (ISO)
After investigation, found onhand no issue, inventory period is opened, what else could be the cause?
Ans: The ISO has tied to subinventory ABC, but the manual Pick Release is picked from subinventory DEF. So, change the "Pick From" subinventory to ABC, problem solved. Note: ISO subinventory is defaulted from IR subinventory.
[GL] Receiving Journal Transfer to GL by Journal Import
Related SQL:
SELECT *
FROM apps.gl_interface
WHERE user_je_source_name = 'Purchasing'
AND user_je_category_name = 'Receiving'
In R11i for Inventory Destination Transactions, the Receiving Transaction Processor Debits and Credits the Receiving Account and Inventory AP Accrual Account respectively in GL_INTERFACE and RCV_RECEIVING_SUB_LEDGER. These Transactions in GL_INTERFACE are identified with User_je_source_name ='Purchasing' and user_je_category_name 'Receiving'. In RCV_RECEIVING_SUB_LEDGER these transactions are identified by column accrual_method_flag ='O'
In R11i for Period End Transactions ie Transactions with accrue_on_receipt_flag ='N' in PO_DISTRIBUTIONS_ALL, no accounting transactions are generated on receipt of goods. The Receipt_Accrual_Period-End program generates the Accounting Entries in GL_INTERFACE and RCV_RECEIVING_SUB_LEDGER simultaneously by Debiting Charge Account and Crediting Expense AP Accrual Account. In GL_INTERFACE the Transactions are identified by column names user_je_source_name='
In R11i both On Line Transactions and Period End Transactions are moved from GL_INTERFACE to GL_IMPORT_REFERENCES,GL_JE_
In R12 GL_INTEFACE TABLE is no longer directly used for Receiving Transactions. The Receiving Transaction Processor only populates the RCV_RECEIVING_SUB_LEDGER with Inventory Destination Transactions. The Receipt_Accrual_Period-End program also only populates the RCV_RECEIVING_SUB_LEDGER with Expense Destination Period End Accruals.
Create Accounting-Receiving Concurrent program from Cost Mangement Responsibility transfers the journals in RCV_RECEIVING_SUB_LEDGER to SLA Tables. Once the accounting entries are created in receiving subledger for the receiving transactions, Create Accounting process gets started depending on the profile option CST:Receiving Accounting option and the encumbrance set up.
On submitting this program, it spawns the Accounting program which will do the validations and picks the data from table rcv_receiving_sub_ledger and process it according to the accrual method set for the POs
Depending on the accrual method and the value for profile SLA:Disable journal import, this spawned program "Accounting program" inserts the data into gl_interface first and then calls the Journal import program and posting program and populates the accounting events in subledger table xla_ae_headers and entries in xla_ae_lines and xla_distribution_links.
If there is any problem with the Journal import, the data will get rolled back from gl_interface. Once the Journal import is completed, data will get populated in gl_import_references,gl_je_
......
Refer to Metalink Note 827125.1 for details.
[WIP] Work Order is Canceled and Onhand Stock Not Released
In order to increase the availability, we need to remove the job allocation.
Go to "Transact Move Orders" menu, go to "Pick Wave" tab, "Work Order" section, enter the job number, query the job. Cancel allocation at Tools->Cancel Allocations
[OM] Meaning of wsh_new_deliveries.released_status
B Backordered Line failed to be allocated in Inventory
C Shipped Line has been shipped
D Cancelled Line is Cancelled
N Not ready for release Line is not ready to be released
R Ready to release Line is ready to be released
S Released to Warehouse Line has been released to Inventory for processing
X Not Applicable Line is not applicable for Pick Release
Y Staged Line has been picked and staged by Inventory
[OM] Order Shipping Line Status Stuck in "Shipped", Next Step "Run Interfaces"
Check error records in Transaction Open Interface (Transactions->Transaction Open Interface). Any error stuck with error in the interface will cause this issue.
Table:
mtl_transactions_interface
Fields:
process_flag => 3, if error
organization_id => Inventory Organization
error_code
Wednesday, December 22, 2010
[OM] OE_ORDER_HEADERS_ALL -> SOLD_TO_ORG_ID and SHIP_TO_ORG_ID
Before we can use OE_SHIP_TO_ORGS_V view in sql, we have to first initialize the view. However, we can skip it by going direct to the tables.
--to get actual ship to address for a Sales Order
select hl.*
from
apps.hz_cust_site_uses_all cs,
apps.hz_cust_acct_sites_all cas,
apps.hz_party_sites ps,
apps.hz_locations hl
where
hl.location_id=ps.location_id and
ps.party_site_id=cas.party_
cas.cust_acct_site_id=cs.cust_
hl.country='IN' and
hl.state='JAMMU AND KASHMIR' and
cs.site_use_code='SHIP_TO' and
cs.org_id=123
order by cs.site_use_id desc
--to get order base on ship to address
-- cs.site_use_id equals oe_order_headers_all.ship_to_
select * from apps.oe_order_headers_all where ship_to_org_id in (
select cs.site_use_id
from
apps.hz_cust_site_uses_all cs,
apps.hz_cust_acct_sites_all cas,
apps.hz_party_sites ps,
apps.hz_locations hl
where
hl.location_id=ps.location_id and
ps.party_site_id=cas.party_
cas.cust_acct_site_id=cs.cust_
hl.country='IN' and
hl.state='JAMMU AND KASHMIR' and
cs.site_use_code='SHIP_TO' and
cs.org_id=123 )
and order_type_id=2345
[SYS] Concurrent Program Always in Pending Status
SELECT user_concurrent_program_name, user_concurrent_queue_name
FROM apps.fnd_concurrent_programs_
apps.fnd_concurrent_queue_
apps.fnd_concurrent_queues_tl cq
WHERE cqc.type_application_id(+) = cp.application_id
AND cqc.type_id(+) = cp.concurrent_program_id
AND cqc.type_code(+) = 'P'
AND cqc.include_flag(+) = 'I'
AND cp.LANGUAGE = 'US'
AND cp.user_concurrent_program_
AND NVL (cqc.concurrent_queue_id, 0) = cq.concurrent_queue_id
AND NVL (cqc.queue_application_id, 0) = cq.application_id
AND cq.LANGUAGE = 'US'
[GL] Manual Journal Import Needed
User submitted "General Ledger Transfer Program" from AR module, "Journal Import" will be called internally. What happened is "Journal Import"completed error with error, "ORA-01653: unable to extend table GL.GL_IMPORT_REFERENCES by 16 in tab".
GL journal batch is not created.
After DBA fixed the tablespace issue, user reran "General Ledger Transfer Program" as the program says no records to be interfaced, completed warning.
What to do next: Go GL module, Journals->Import->Run, submit journal import with the right Group ID (can be retrieved from "General Ledger Transfer Program" log).
[SYS] Default Type: Profile
FROM apps.fnd_profile_options_vl
WHERE profile_option_name = 'MY_CUSTOM_PROFILE_NAME'
[INV] Item Cross References in Item Search
inv_item_concat_segs stocking_sku, description
from apps.MTL_CROSS_REFERENCES_V where cross_reference_type='ABC_
cross_reference in
('ABCD');
[OM] Validation failed for the field - Ship To
from
apps.hz_cust_site_uses_all cs,
apps.hz_cust_acct_sites_all cas,
apps.hz_party_sites ps,
apps.hz_locations hl
where
hl.location_id=ps.location_id and
ps.party_site_id=cas.party_
cas.cust_acct_site_id=cs.cust_
cs.site_use_code='SHIP_TO' and
cs.org_id=123 and
cs.site_use_id = 12345678
[INV] APP-PO-14736: You cannot source from and deliver to the same subinventories
- Remove this Item Subinventories defaulting, or
- Manual correct the sourcing org and subinv at Requisitions form level, or
- Change to another Destination Subinventory
Tuesday, December 21, 2010
[SYS] FND: Default Request Days
[SYS] PHASE_CODE and STATUS_CODE in FND_CONCURRENT_REQUESTS Table
P - Pending
C - Completed
R - Running
STATUS_CODE
Q - Standby //Scheduled
R - Running
C - Normal
D - Cancelled
E - Error
G - Warning
I - Normal //Inactive