Zoeken
Alerts for Oracle Services Procurement |
Geschreven door Marcel Koolwijk |
maandag, 25 maart 2013 22:06 |
When implementing Oracle Services Procurement there are a number of steps in the process that can easily be controlled by a number of Alerts. The Alerts will notify you when a certain step in the process is not performed as expected. Examples are:
In this article you will find some sample SQL queries for these Alerts. You can use these are basis for your own Alerts. If you just want to run the SQL queries you can of course just exclude the "into" section.
Alert for Approved Purchase Orders that are not yet assigned to a contingent worker assignment select o.name , ph.segment1 , pl.line_num , pv.vendor_name , pl.contractor_first_name , pl.contractor_last_name , pl.start_date , pl.expiration_date , ph.approved_date into &OPERATING_UNIT , &PO_NUMBER , &LINE_NUMBER , &VENDOR_NAME , &FIRST_NAME , &LAST_NAME , &START_DATE , &END_DATE , &APPROVED_DATE from po_headers_all ph , po_lines_all pl , po_vendors pv , po_vendor_sites_all vs , hr_all_organization_units o where ph.po_header_id = pl.po_header_id and ph.vendor_id = pv.vendor_id and ph.vendor_site_id = vs.vendor_site_id and ph.org_id = o.organization_id and ph.authorization_status = 'APPROVED' and nvl(pl.closed_code,'OPEN') = 'OPEN' and nvl(pl.cancel_flag,'N') = 'N' and pl.job_id is not null and ph.type_lookup_code = 'STANDARD' and pl.po_line_id NOT IN (select nvl(po_line_id,-1) from per_all_assignments_f) Alert for Purchase Orders that are about to expire within the next 14 days without a new assignment for the Contingent Worker select ph.segment1
|