You are on page 1of 45
ORACLE ATTENTION — AUDIO Options Option 1: Voice Streaming Audio Broadcast * No need to dial in on a telephone * Questions can be asked in the WebEx Q&A panel * Details mo “| Next Webcast: Release 12.2 Return to Vendor with Shipping Integration - February 24th, 2016 Xa Option 2: Teleconference (Dial In) * Requires telephone to dial in * Questions can be asked over the phone or in the WebEx Chat * Details ~ Conference ID: 6118791 — Password: logistics ~ International dial in: 706-501-7826 ~ US Free call: 1 877-368-7516 ~ List with national toll free numbers is available in Doc ID: 1148600.1 — View anytime during the conference using Communicate > Teleconference > Join Teleconference from your WebEx menu Upcoming Advisor Webcast Schedule Q Check out Note ID : 740966.1 O Select your Product Ar — ee elect your Product Area wvetiy NE Tai nem msicoe) FasO) Q Scan through the list of Current Topics stay ——-—DegmNSOPRKRAEHE PCE 26 misoanea rie) [ReomTER) Register for the session of your interest revs an Tabla Teng Roce anda Rebse 2 Fb1, 20166000 06m) [reo ‘eal tecetonRgecs — Caste sven nero QebReME IE Reteg Fy ans) [RcoRER) Next Webcast: - Release 12.2 Return to Vendor -” ele 12 Ren VE : =a with Shipping Integration - February 24th, 2016" ‘Shgpngitegaton reneaeien inte) © Ferme atin regan the do webcast progan, le cot Onc, Xa ot 8 dn i 8 Safe Harbor Statement The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle. yeti ORACLE Oracle Advisor Webcast Inventory Transactions - Troubleshooting Melissa Jones, Toni Davidson, Suhasini Rayadurgam Oracle Customer Support - Inventory January 20th, 2016 Objectives * Setting Inventory Debug Log * Generating Inventory Debug Log * Collecting Inventory Debug Log * Reviewing Inventory Debug Log , a yeti Agenda B® Inventory Transactions & Debug - Introduction B Inventory Debug Profiles - Setup BD Collecting & Reviewing Debug Logs BW Demonstration B Troubleshooting B® References Agenda B® Inventory Transactions & Debug - Introduction B Inventory Debug Profiles - Setup BD Collecting & Reviewing Debug Logs BW Demonstration B Troubleshooting B® References Inventory Transactions Introduction * Forms — Move Orders, Reservations, Material Workbench, Transactions * Concurrent Programs — Pick Release, Create Consumption Advice * Transaction Open Interface — Stuck Transactions, Bulk-load Processing * Mobile Supply Chain Applications — (Scanners) * Inventory APIs (PL/SQL) * Mobile Apps (Newest — Phones / Tablets) yeti Inventory Debug Introduction * Generated via transaction processing, form navigation, concurrent programs, APIs, MSCA and Mobile Apps * Generated in a number of applications and programs even if they are not necessarily inventory applications. For example, Work in process (WIP) may call an Inventory API that could generate inventory debug messages. Xa nme 0 sina stop Inventory Debug With other modules * Inventory Debug profiles will create a debug log when set ina WMS enabled organization and can be used in conjunction with the Mobile logs. (Note 1400383.1 How To Create INV Debug and MWA Log Files From WMS/MSCA Transactions) * Inventory Debug profiles can be setup along with Receiving / Purchasing / Order Management / Shipping / Work In Process Debug profiles to generate debug for transactions coming into Inventory module from other modules. lol Nae Agenda B® Inventory Transactions & Debug - Introduction B Inventory Debug Profiles - Setup BD Collecting & Reviewing Debug Logs BW Demonstration B Troubleshooting B® References Inventory Debug — Setup Note:148651.1 INV DEBUG: How to get Debug Information for Inv Mtl Trx Site/User/Application/Responsibility Profiles (*User level recommended) - * INV: Debug Trace: set Yes to turn on the debug messages set No to turn off the debug messages. * INV: Debug Level: set 0, will print the summary debug messages. set 10 - 15, to print the detail debug messages. * INV: Debug file (Including the complete path): The path is one of the directories from the valid directories defined in the obtained vSparameter through the following sq] : select value from v$parameter where name = 'utl_file dir'; “Output may contain a path with multiple valid directories - only one should be selected and input for the debug file profile yeti Inventory Debug - Setup Screenshot PED EL tekconpletedn 0.109 seconde Aepicton Aecpnay Sor. MSCA Debug - Setup Note 338291.1 How to Enable WMS / MSCA Logging * Locate the mwa.cfg file: In 11i: SMWA_TOP/secure/ In R12: SINST_TOP/admin/install/ * Ensure trace is enabled in the mwa.cfg file. You should see trace level: mwa.LogLevel=TRACE Also check for 'mwa.logdir' to be set accordingly * Restart the mobile server and hit ctrl-X, see what directory is for the logging * After you perform the transaction again, get the following log files from that log directory [port].INV.log, [port]. WMS.log [port] system.log * This diagnostic process will help us identify errors for mobile users who are having issues with mobile pages from WMS and MSCA. yeti MSCA Debug - Setup * Note:.This will be applicable to all users from MSCA. This cannot be restricted by user. So , This has to be disabled once t jebug gs are collected Inventory Debug — Setup (APIs) Note 869386.1 - How to Enable Trace or Debug for APIs executed as SQL Script Outside of the Applications ? * Enable the Inventory Debug profiles at User level for the user who would be running the API INV: Debug Trace: Yes INV: Debug Level: 15 INV: Debug file: /usr/tmp/invdebug.log * Add the below declarations to the sql script calling the API outside of Oracle Applications. ~ Declarations 1_user_id NUMBER 17resp_id NUMBER 1application_id NUMBER 1_user_name VARCHAR2 (30) 1Tresp_name VARCHAR2 (30) Yeti ake 'MFG'; -- user who has debug enabled ‘Inventory'; -- responsibility name Inventory Debug — Setup (APIs) Note 869386.1 - How to Enable Trace or Debug for APIs executed as SQL Script Outside of the Applications ? * Add the below code before the API is called in the SQL script. This will initialize applications context, and will use the values of the debug profiles set for this user, Get the user_id SELECT user_id INTO 1_user_id FROM fnd_user WHERE user_name = ‘MFG’ ; -- Get the application_id and responsibility id SELECT application _id, responsibility id INTO 1 application_id, 1_resp_id FROM fnd_responsibility vl WHERE responsibility name = ‘Inventory’; FND_GLOBAL.APPS_INITIALIZE(1_user_id, 1_resp_id, 1_application_id); * Now, go ahead and execute the API from the SQL script, this will create the debug log file with the file name as provided in the profile "INV: Debug File”. Na Inventory Debug — Setup (Mobile Apps) Note 1642431.1 - Oracle E-Business Suite Mobile Apps Admin's Guide for Release 12.1 and 12.2 * Section 4: Diagnostics and Troubleshooting Section 4.1: Enabling the Logging and Diagnostics Features —Section 4.1.1: Enabling Server Logging —Section 4.1.2: Enabling Client Logging Generating INV Debug Files Steps to be followed * Enable INV Debug profiles * Reproduce the issue (Forms, Concurrent program, API) * Collect INV Debug files based on profile value Additional Steps for debugging stuck transactions in TOI — * Enable INV Debug profiles * Resubmit the stuck transactions and Launch Inventory Manager * Collect INV Debug files based on profile value yeti Agenda B® Inventory Transactions & Debug - Introduction B Inventory Debug Profiles - Setup B Collecting & Reviewing Debug Logs BW Demonstration B Troubleshooting B® References Collecting INV Debug Files Steps to be followed ie Tareas Form error ‘Transaction Open Interface Concurrent Program ‘Mobile Transactions No (MSCA should be bounced) Inventory APIs No Wer ae ed INV; Debug File INV: Debug File Concurrent program log, INV: Debug File & Mobile Logs INV; Debug File * Note: You may need to bounce the Transaction Manager / MSCA server once the debug profiles are disabled to stop debugging. lol Nae Reviewing Inventory Debug Logs Org Attributes, Item Attributes [Date] INV_TRX_MGR: Item id =1057303, orgid=212 * Shows inventory_item_id and organization_id for transaction [Date] INV_TRX_MGR: LotCtrlCode=1,SerCtr1Code=5 * Shows lot control and serial control code * Lot Control Code (1 = None, 2 = Full), Serial Control Code (1 = No Serial Control, 2 = Predefined serial Number, 5 = Dynamic entry at INV RCPT, 6 = Dynamic entry at Sale order issue) yeti Co tn Reviewing Inventory Debug Logs Transaction Manager Errors TXN_MANAGER_PUB.POST_TEMP_VALIDATION: Error in post_temp_validation allowed [Date] INV_TRX MGR: TrxUtil: stacked message - An err: [Date] INV. : Negative occurred while relieving reservations. These type of errors occur for the following: * If available quantity is insufficient to process the transaction * Cost group mismatch-requires datafix bug [Date] INVIXNB: Error from INV worker : error_code : Serial records, err_expl :For this ‘transaction row the serial records are missing * Corrupt or missing serial record in mtl_serial_numbers_interface or mt!_serial_numbers_temp + If the rows are in the Interface Table - usually you can enter / correct them by going to Transactions > Transactions Open interface and using the Lot/Serial button (Rows in Temp Table - requires a datafix bug) Xa un 1 ed ns he | Reviewing Inventory Debug Logs Rules Engine Errors [Date] wms.pisql.WMS_Rule PV?.Apply.1_rule id: 10507 (Date) wms.plsql.WMs Rule PV?.Apply.1 reservation id: 4857689 [Date] wms.plsql.WMS Rule PVT.Apply.detailed: Rule Override flag is set [Date] wns.plsql-WMs Rule PVT.Apply.detailed: Subinventory should be there -9999 [Date] wms.pleql.WMs Rule PV?.Apply.taput Rec :Calling rule with following value of type =: Picking [Date] wns.plsgl.WMS Rule PV?.Apply-Input Rec :1_rule id: 10507 (Date) wms.plsgl.WMS Rule PV?.Apply.Input Rec :p_organization_id: 207 [Date] wms.plsql.WWMS Rule PVT.Apply.Input Rec :p inventory item id: 849970 [Date] wns.plsql.W4S Rule PVT.Apply.Input Rec :p_transaction_type_id: 52 (Date] wms.pisql.WMS Rule PVP.Apply.Input Rec :1 revision: -99 [Date] wms.plsql.WMS_Rule PVT.Apply. Input Rec :1_lot_number: -9999 [Date] wns.pleql.Wis Rule PVT.Apply.Input Rec :1 subinventory_code: -9599 [Date] wms.plsql.WMS Rule PVT.Apply.Input Rec :1 locator_id: =9999 * Shows parameters passed to the Rules engine code to find available quantity and also errors if any. lol Nae Reviewing Inventory Debug logs Quantity Tree Information (printed when INV: Debug Level = 15) * For more detailed explanation, see Note 268974.1 - Check Onhand With PL/SQL: Review Stock Picture For An Item in a Given Organization / Subinventory [Date] INV_TXN MANAGER PUB. POST_TEMP VALIDATION: L_QOH : 0 [Date] INV. L_ROOH : 0 [Date] INV. L_POOH : 0 [Date] I TXN-MANAGERPUB|POST_TEMP_VALIDATION: LOR : 0 (Date] INV_TXN MANAGER PUB. POST TEMP VALIDATION: L_QS : 13 (Date] INV_TXN_MANAGER_PUB.POST_TEMP_VALIDATION: L_ATT : -13 [Date] INV_TXN MANAGER PUB.POST TEMP VALIDATION: L_ATR : -13 yeti Cn ed nln a ape | Reviewing Debug log Quantity Tree Information (printed when INV: Debug Level = 15) {sy goansaey gape pvt: tn quecy treet W Orgi!l ALLOCATE LOF FLAG: { BRCGURIEY fr_fvt ot,‘ aubioretary cae inoiDy= Tv qonwrsey eaee pvt: root i4-151778, p04 conteol-¥Ause Pontos, tea, atte Explanation Onhand Quanity forte tem Roservable Quay On band Quay reserved uimiy Sages Availabe To Tans Available To Resrve lol Nae Scheduling Transaction Manager Concurrent: Process Transaction Interface Scheduling Transaction Manager Concurrent: Process Transaction Interface eas Sond Se Langage brand Lung Ses. | Daup Cim, ne Te, ase Pai =eueday = pte pn coe soe at opr, aye wy Ci ize ig RACLE ro =z Agenda B® Inventory Transactions & Debug - Introduction B Inventory Debug Profiles - Setup BD Collecting & Reviewing Debug Logs B® Demonstration B Troubleshooting B® References Demonstration lol Nae Agenda B® Inventory Transactions & Debug - Introduction B Inventory Debug Profiles - Setup BD Collecting & Reviewing Debug Logs BW Demonstration B Troubleshooting B® References Troubleshooting Debug log not generated or doesn’t show errors? * In the case of Pick Release or any concurrent program, the debug information, is written to the Pick Release concurrent request log instead of the debug log. * In case of stuck transactions in MTI, Transaction manager has to be bounced from the same user for the debug profiles to take effect. * In case of Interface Trip Stop (re-run), debug messages on stuck transactions are not written to ITS log if the transactions are stuck in MTI. You will have to resubmit the transactions from MTI to review cause of the stuck transaction errors. * Ensure INV: Debug File - Path has write access Xa Agenda B® Inventory Transactions & Debug - Introduction B Inventory Debug Profiles - Setup BD Collecting & Reviewing Debug Logs BW Demonstration B Troubleshooting B® References References * Note 148651.1 - INV DEBUG: How to get Debug Information for Inventory Material Transactions * Note 338291.1 - How to Enable WMS / MSCA Logging * Note 869386.1 - How to Enable Trace or Debug for APIs executed as SQL Script Outside of the Applications ? * Note 1642431.1 - Oracle E-Business Suite Mobile Apps Administrator's Guide for Release 12.1 and Release 12.2 * Note 1400383.1 How To Create INV Debug and MWA Log Files From WMS/MSCA Transactions Other useful Inventory notes — * Note 568012.1 - FAQ; Inventory Standard Datafixes * Note 741477.1 - FAQ; Inventory Transactions Process Flow * Note 268974.1 - Check Onhand With PL/SQL: Review Stock Picture For An Item in a Given Organization / Subinventory + Note 146961.1 - FAQ: Poor Performance for Inventory Transactions : Worker, Interface Transactions, Serial This presentation: Note 2071746.1 - Brownbag: How To Generate Inventory Debug for Transactions from Forms / APIs / Transaction Open Interface / MSCA / Concurrent Programs ? yeti Summary What we covered today ORecap main points QLLinks to highlighted documents ORevisit webcast objectives y ° To ask a question on the phone line, select *1 on your phone. * To ask a question online, use the Chat area at the top. * Your question will be read aloud in the order received. * Question can also be asked on the My Oracle Support Communities Top Articles and Community Links QO Document for this Webcast [ID 2071746.1]. OQ Logistics Advisor Webcast Calendar/Archive [ID 1455888.1] Q Oracle Advisor Webcast Schedule [|D 740966.1] Q Continue the Discussion on the Logistics Community https://community.o1 m/thread/3888919 Q Webcast Survey After Today’s Session. ~ Q What advisor webcast topics do YOU want to see presented? Xa y ° To ask a question on the phone line, select *1 on your phone. * To ask a question online, use the Chat area at the top. * Your question will be read aloud in the order received. * Question can also be asked on the My Oracle Support Communities THANK YOU Learn More Available References and Resources to Get Proactive QO My Oracle Support Essentials Webcast Series https://support. oracle.com | Doc ID: 553747.1 O My Oracle Support Blog https://blogs.oracle.com/supportportal/ Q Get Proactive in My Oracle Support https://support. oracle.com | Doc ID: 432.1 C1 Ask the Get Proactive Team get-proactive_ww@oracle.com yeti Where Can | Get The Slides From This Session? 1. PDF link from Doc ID 740966.1 (within 48 hours) 2. Logistics Community >Content Tab > Documents (within 24 hours) Logistics - EBS (MOSC) Cor [Loatet Fewer Oracle Advisor Webcast Program Locating Current Schedule & Archived Recordings ‘Advisor Webcasts for Oracle E-Business Suite OFrom Note ID : 740966.1 drill down to your area of interest cen pose ee pc a Oselect your Product Area Oracle E-Business Suite - Stator tea we 9c Manufacturing Sec rs eee ee crt Poeo sec pot pt oa: Cont ine cn Xa nme 0 sina stop Oracle Advisor Webcast Program Locating Current Schedule & Archived Recordings Note: Q Click column headings to sort Q Hover on Webcast Title for more information Q Recordings available within 48 hours Q Advisor Webcast Questions on a webcast or ask questions via the Questions? link lol Nae verry Famiy Te, Your Loot Tine Regster very Tents os Troesing 20,2016 1000 (ves) (REEaTER) Detuggn So Pk Rekase Process a , font Orpen 2n26,2169:300m (Toe) ([ReaTER ©] Prereustes ane Toweootngn Proc Nangacumg fale 12,” F251, 20:66000N (Hon) REGSTER vero Mwfocuerg ventory tle Caer AccalReere Res Recaro nis meen poze som croe) [ReoTER ©) Ae 122 fata oer wth gy 251000 a rea zis :on0 es) (RCo) Fer rare fete ea the do webcast raga, es contac Onde, Hardware and Software Engineered to Work Together lol Nae

You might also like