Who's Online
0 registered (), 2 Guests and 5 Spiders online.
Key: Admin, Global Mod, Mod
Recent Posts
In which table is external learning data stored
by DMC
Yesterday at 03:43 PM
Pension Auto Enrolment
by CT
Yesterday at 09:46 AM
Vehicle Mileage Setup
by Shyam
Yesterday at 06:45 AM
11.5.10 "Extended Support" extended til..... when?
by Vigneswar Battu
17/05/12 10:59 AM
Hacking element definitions
by CT
15/05/12 08:42 AM
GB EOY reports
by Vigneswar Battu
09/05/12 02:07 PM
Oracle Payroll and Cash Management
by Vigneswar Battu
08/05/12 03:08 PM
BG setup/changes - brain dump
by Ryan
05/05/12 07:20 PM
Fusion Collateral
by CT
04/05/12 11:09 AM
BEE - ordering Batch lines
by Vigneswar Battu
03/05/12 04:22 PM
Top Posters (30 Days)
delboy 37
CT 35
Vigneswar Battu 15
pat.woodall 9
bcooper 4
Mani 3
7Giri 3
Gus 3
Ryan 3
SBi 2
(Views)Popular Topics
Family Pack K issues thread 20107
CREATE_GRADE api returns:PLS-00306: wrong number o 15174
Still trying to locate... 13817
Creating hr jobs ORA-20001: HR_289477_JOB_GROUP_ID 11848
Viewing Output of another user 10266
HR_PF.K RUP4 10240
Review of my Release 12 laptop 9703
Enhanced Retro & Release 12 9375
Adding a taskflow button to a form 9111
Family Pack K 7882
Topic Options
Rate This Topic
#1218 - 30/03/05 04:55 PM iExpenses to Payroll Interface
mgereis Offline
regular

Registered: 30/03/05
Posts: 26
Loc: Reading, UK
hi.. .I'm currently working on a customized interface which will transfer taxable expense items from iExpenses to Payroll through the standard Batch Element Entry API. . .The technical solution has the following elements: . 1)Custom staging table. . 2)PL/SQL Package Procedure. . 3)Concurrent Executable. . 4)Concurrent Program. . .The concurrent executable will call the procedure in the custom package. .The procedure is: .* LOAD_STAGE . This will create records of all taxable expense items in the staging table XXDWP_IEXP_PAY from iExpenses and default the TRANSFER_FLAG to ‘N’. .* LOAD_BEE_FROM_STAGE . This will call the standard PAY_BATCH_ELEMENT_ENTRY_API to validate and transfer records from the staging table to the Batch Element Entries table and set the TRANSFER_FLAG to ‘Y’ once a record is validated and transferred successfully. .* TRUNC_STAGE . This will delete all records in the staging table where the TRANSFER_FLAG = ‘Y’. . .I've already created the package with the API calls. .what i need now is a way of calling it from a concurrent program? .i know the logic i just don't how to actually do it. . .any ideas?
_________________________
Mina Gereis

Top
#1219 - 30/03/05 05:47 PM Re: iExpenses to Payroll Interface
CT Offline
Guru
***

Registered: 11/03/05
Posts: 1182
Loc: Bath
Sounds like you're half-way there. If you've registered the executable (and therein specified that the thing is a pl/sql package) and you've created a concurrent program that uses that executable (and therein specified any parameters to be supplied at runtime etc) then all you need to do after that is register the concurrent program with an appropriate request group. eg the standard one is 'UK HRMS Reports and Processes' - you might want to add it to that one or alternatively if you want access to it to be restricted in some way then you'll need to create a separate request group then a specific responsibility to make use of that request group. Thereafter you should be able to run it.
_________________________
L&K
CT

Remember: A dog is for life, not just for Christmas... unless you're in Korea

Top
#1220 - 31/03/05 10:40 AM Re: iExpenses to Payroll Interface
mgereis Offline
regular

Registered: 30/03/05
Posts: 26
Loc: Reading, UK
that's cool.. but how do i actually call the package from the concurrent exec. or program?? i mean the actual place i type in the code? and what's the code itself? is it just: PKG_NAME.PROC_NAME ?? i do expect it to be a bit more complicated than that! oh and by the way i don't have any parameters to pass on. . .cheers.
_________________________
Mina Gereis

Top
#1221 - 31/03/05 08:57 PM Re: iExpenses to Payroll Interface
CT Offline
Guru
***

Registered: 11/03/05
Posts: 1182
Loc: Bath
OK the code has to exist as a compiled package header/body . .The executable definition (done within sysadmin) has to be of a type 'pl/sql package' or whatever it's called exactly. In the field where you say what is being executed you put <package>.<procedure>. Try doing a query within this screen for existing entries with the type 'pl/sql package' to see how they're set up. . .The concurrent program definition allows you to give a 'meaningful' user-friendly label for the process and at the same time which defined executable is to be run. Optionally parameter definitions may also be set up. . .Apart from registering that concurrent program with your chosen request group that really is it!
_________________________
L&K
CT

Remember: A dog is for life, not just for Christmas... unless you're in Korea

Top
#1222 - 31/03/05 11:33 PM Re: iExpenses to Payroll Interface
Gus Offline
nothin' better to do

Registered: 16/03/05
Posts: 145
Loc: Lapenne
Agree

Top
#1223 - 04/04/05 09:38 AM Re: iExpenses to Payroll Interface
mgereis Offline
regular

Registered: 30/03/05
Posts: 26
Loc: Reading, UK
oh this was very helpful i've done all that already i just thought there was more to it. you know when it's a simple thing you just feel there's more to it!!! then again maybe it's just me! <img src="/ubbthreads/images/graemlins/smile.gif" alt="" /> .thanks again for clearing it up for me mate. .cheers.
_________________________
Mina Gereis

Top



Moderator:  bcooper, CT 
Forum Stats
790 Members
48 Forums
1580 Topics
7641 Posts

Max Online: 67 @ 14/04/12 05:38 PM
Today's Birthdays
No Birthdays
Recent vacancies
Top Posters
CT 1182
bcooper 1112
delboy 594
Geoff Dixon 369
SBi 356
vkumar 223
kp_rapolu 213
cbrookes 197
Gavin Harris 163
Gus 145
May
Su M Tu W Th F Sa
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31