Understanding How to Link Invoices to Pay When Paid Vouchers
After you enter pay when paid vouchers, you create the corresponding invoices that must be paid before the system releases the vouchers for payment. The invoices must be linked to the vouchers to automate the voucher release process.
You can link invoices to vouchers either automatically or manually. If you create invoices in Contract and Service Billing, the system automatically links the invoices to the vouchers by assigning a pay when paid group number when you run the Create A/R Entries program (R48199). If you create invoices in JD Edwards EnterpriseOne Accounts Receivable, you must use the Pay When Paid Manual Link program (P03B470) to manually link invoices and vouchers.
To create invoices in Contract and Service Billing that correspond to pay when paid vouchers, follow the same steps as you do when you create invoices for normal processing in Contract and Service Billing. If the vouchers for which you create invoices are pay when paid vouchers, identified by a W in the G/L Posting Code - Alternate W field in the F0911 table, the system updates the invoices as described in each of these steps:
Run the Workfile Generation program (R48120).
The system updates the Pay When Paid Flag field (PTFG) in the Billing Detail Workfile table (F4812) with a W.
Run the Invoice Generation program (R48121 or R52121).
The system updates the Pay When Paid field (PYWYP) in the Invoice Summary Work File table (F4822) with a W.
Run the Create A/R Entries program.
The system creates a pay when paid group header record in the Pay When Paid Group Header table (F03B470) with the Pay When Paid Group Number and Pay When Paid Group Status fields. The system assigns the pay when paid group number to the invoice and the corresponding voucher in the Pay When Paid Group Number field (PWPG) in the Customer Ledger (F03B11) and Accounts Payable Ledger (F0411) tables. The system also assigns 1 (inactive) in the Pay When Paid Group Status field in the F03B470 table.