Project Expense Report Account Generator(PAAPWEBX):
This workflow generates the account during the iExpenses process.This called from the workflow 'Expenses' (APEXP).
The process calling the account generator is
'AP Validate Expense Report' -> which calls the API AP_WEB_EXPENSE_WF.APVALIDATEEXPENSEREPORT
which internally calls various API's before calling tge account generator from pa_acc_gen_wf_pkg.ap_inv_generate_account
which calls the standard FND API's for generating the code combination for the generator.
fnd_flex_workflow.generate( l_itemtype,l_itemkey, etc
l_error_message which passes back the workflow error.
So the API calling is as follows
iExpenses
Calls AP_WEB_EXPENSE_WF.APVALIDATEEXPENSEREPORT
Calls pa_acc_gen_wf_pkg.ap_inv_generate_account
Calls fnd_flex_workflow.generate
To debug the account generator use the following profile.
Account Generator:Run in Debug Mode preferably at the user level which shows the account generator workflow in workflow admin.
Monday, 11 February 2013
ORA-01722 – Invalid number with SQL*Loader in unix
When tring to load data using SQL*Loader Invalid number error popped up.
The last column in the staging table was a number. Having tried trim and nullable etc. I found that the data file has got funny chars. The data file was copied from windows.
Solution:
dos2unix filename.dat
The last column in the staging table was a number. Having tried trim and nullable etc. I found that the data file has got funny chars. The data file was copied from windows.
Solution:
dos2unix filename.dat
Oracle First day of given month or given year.
I noticed trunc has a skillful way of working with dates.
First day of the month :
select trunc(sysdate,'MM') from dual;
Gives me 01-FEB-13
First day of the year:
select trunc(sysdate,'YY') from dual;
Gives me 01-JAN-13
First day of the month :
select trunc(sysdate,'MM') from dual;
Gives me 01-FEB-13
First day of the year:
select trunc(sysdate,'YY') from dual;
Gives me 01-JAN-13
Subscribe to:
Posts (Atom)
Integrations Lead - Lessons learnt
Integrations have been my passion for a while but like anything tech there is no credit given when things go right but always heaps of pres...
-
For most outbound interfaces bursting to content server and then picking the file from UCM is the best approach for large extracts. Default...
-
While developing Cloud integrations I could not find a single place for all details like InterfaceID or jobdefinitionname or job name etc. ...
-
You can use valueset(Ex-ORG_LEVEL1) to use the query table functionality in Fast Formulas. Below is sample how you pass parameters(P_ORG_ID)...