Posts

Showing posts from 2018

How to avoid the trimming of leading zeros in XML Publisher Template with Excel output Format

When the XML Publisher creates the Excel output file with fields having leading Zero, when the output file is opened in the Excel Format The leading zeros in the will be automatically lost by the Excel. Excel treat the number in character format as number, we need force excel to treat this value as character and not as numeric value. In my case the tag  01007926 When opening in Excel Format, all i can see is 1007926 . During XML template design, Instead of the using the tag  use      = " < ? XX_INVOICE_NUM ? > " Please remove spaces. They are only there for the purpose of posting in this blog It wraps the value with double quotes. Now Excel treat value as character and doesn't trim the leading zeroes of value. I found the solution from this link  http://peoplesoftlearnings.blogspot.com/2010/04/how-to-avoid-trimming-of-leading-zeros.html
Steps to modify CUSTOM.PLL Here are the steps in short to modify CUSTOM.pll file - R12 Prerequisites : Ensure that you have following files downloaded into your local machine before working on the CUSTOM.pll file. APPCORE.pll APPDAYPK.pll FNDSQF.pll                                  Steps : Step1 :  Download the CUSTOM.PLL file from AU/resource top. Step2 :  Open the Oracle Forms Builder, and open the CUSTOM.pll file. Step3 :  Double click on the CUSTOM*(Package Body) Step4 :  Add the code for the required event and for the desired form in the Package Body Step5 :  Save the changes. Step6 :  Compile the CUSTOM.pll file.(CTRL + SHIFT + K) Step7 :  Upload(File Transfer using FTP tools) the updated CUSTOM.pll file to AU/resource top Step8  :  Login to UNIX box and navigate to AU/resource top Step9 :  Use the following command to create executable file(*.plx) frmcmp_batch module=CUSTOM.pll userid= / @ module_type=LIBRARY compile_all=yes Credits to http://

Order Flow in Oracle

Understanding data flow for “Standard Order” 1. Order Entry This is first stage when Order in enter in system. When the order is entered it basically creates a record in order headers and Order Lines table. •oe_order_headers_all (Here the flow_status_code as entered) •oe_order_lines_all (flow_status_code as entered) ( order number is generated) 2. Order Booking This is next stage , when Order which is entered in step 1 is booked and Flow status changed from Entered to Booked.At this stage , these table get affected. •oe_order_headers_all (flow_status_code as booked, booked_flag updated) •oe_order_lines_all (flow_status_code as awaiting shipping, booked_flag updated) •wsh_new_deliveries (status_code OP open) •wsh_delivery_details (released_status ‘R’ ready to release) Same time, Demand interface program runs in background And insert into inventory tables mtl_demand 3. Reservation This step is required for doing reservations SCHEDULE ORDER PROGRAM runs

Compiling Forms in 11i

We have to use f60gen for compiling forms and libraries in Oracle Applications Version 11i. Some places you need to put the custom form (fmb) under $AU_TOP/forms/US. In some places i have seen the form(fmb) under source code directories. Either is the the case, you need to compile the fmb and place the fmx in the appropriate directory Step 1: Login to application server Step 2:  Go to the directory $AU_TOP/forms/US                      --> Place “.fmb” file in binary mode Step3:  Execute the “f60gen” command to generate “.fmx”.  Syntax: f60gen module=.fmb userid=apps/ output_file=.fmx module_type=form batch=no compile_all=special Sample Syntax:  f60gen module=$AU_TOP/forms/US/XXCUSTOM.fmb userid=apps/appspassword output_file=$CUSTOM_TOP/forms/US/XXCUSTOM.fmx module_type=form  batch=no compile_all=special

BI Publisher Add-in not working for MS Word 2010

Recently i faced an issue where my BI Publisher add-in for MS Word 2010 was not working. Somehow the add-in was disabled. This is what i did to enable it. File --> Options --> Add-Ins --> Go to the Bottom  and click on options for Manage In the list click on Disabled Items , Click Go Select the BI Publisher Add-in and click enable. This did it for me. There are different solutions for each version of MS word. If i get to work on latest MS Word versions, i will update this post. This is only for MS Word 2010.