Ebg - Pay On Receipt
Ebg - Pay On Receipt
63885152.doc
Document Control
Change Record
9
Reviewers
Name Position
Approvers
Name N.D Kumar Position Project Manager (onsite)
Distribution
Copy No. 1 2 63885152.doc Name Library Master Location Project Library Project Manager 6
Copy No. 3 4
Name
Location
63885152.doc
Contents
1.1. Approach ...........................................................................................8 1.1.1 References..................................................................................8 1.2. Module List...........................................................................................8 1.3 Concurrent Program Logic....................................................................9 1.4 Calling Arguments..............................................................................9 2.1 Open Issues...................................................................................11 2.2 Closed Issues................................................................................11
1. Technical Overview
This document defines the technical components required for automatically generating Accounts Payable Invoice Number as per Emirates Banks requirement. The objective of this document is to describe the Techincal requirements for this interface and also to discuss the required technical solutions
1.1. Approach
Customize the Pay On Receipt AutoInvoice program to include the logic to generate AP Invoice as per EBGs requirement.
1.1.1 References
Functional Design Document Updation.doc : Automatic Supplier Invoice number
1.3
Need to create a new oracle (RDF) report and register it to the concurrent program with the name as XXEBG_Pay on Receipt AutoInvoice and execution method is SQL*Plus .
1.4
Calling Arguments
Program Name
Argument
Require d N
Comments
Transaction Source
Using the value set PO_INV_CR_TXN_SOURCES User select the value ERS Evaluated Receipt Settlement.
Commit Interval
Receipt Number
Using the value set XXEBG_PO_INV_CR_RECEIPT_NU MS_ORG User can enter a valid Receipt Number. Using the value set 7/Digits
Aging Period
1.5 Table and View Usage CRUD Matrix (Create, Read, Update, Delete)
Table Name PO_Vendors PO_Vendor_Sites Ap_system_parameters po_headers_all Mode R R R R
63885152.doc
R R R R R C
1.6
1. Create an SQL file XXEBG_POXPOIV.sql to call the package xxebg_po_invoices_sv1.create_ap_invoices with the parameters Entered by the user. 2. Create a packages XXEBG_PO_INVOICES_SV1, XXEBG_PO_INVOICES_SV2 based on the standard packages PO_INVOICES_SV1 and PO_INVOICES_SV2. 3. In the package XXEBG_PO_INVOICES_SV1 , call the custom report XXEBG_APXIIMPT.rdf instead of the standard report APXIIMPT.rdf 4. In before report trigger of the report XXEBG_APXIIMPT.rdf add the following statements CURSOR cur IS SELECT rsh.receipt_num,rsh.shipment_num FROM rcv_shipment_headers rsh, rcv_shipment_lines rsl WHERE rsh.shipment_header_id = rsl.shipment_header_id and shipment_num is not null ; FOR c IN cur LOOP UPDATE ap_invoices_interface SET invoice_num = substr(c.shipment_num||'-'||c.receipt_num||'-'|| substr(invoice_num,instr(invoice_num,'-',1,2)+1,length(invoice_num)), 1,49) -invoice_num = 'EBG-' || c.shipment_num where substr(invoice_num,5,6)=c.receipt_num and status is null and source='ERS'; END LOOP;
63885152.doc
10
2.1
Open Issues
ID
1
Issue
Resolution
Responsibility
2.2
ID
1
Closed Issues
Issue Resolution Responsibility Target Date Impact Date
63885152.doc
11