This function will perform the following for the entire Contract Billing Batch or for individual invoices in the Contract Billing batch:
1.Remove the batch number from the Contract Master (F5201) records using N5200010- Get Update Contract Master Record.
2.Update Prior Billed Amounts for Adjustment Invoices using N5200202- Adjust F4822 Subsequent Invoices.
3.Delete Dummy F4812 records using N48S0415- Delete Dummy records.
4. Delete (R)etainage F4812 records using N48S0790- Delete Retainage records.
5.Reset billing Workfile records (F4812)-using N48S0310-Clear invoice information.
6.Delete Invoice Summary (F4822) records using Table I/O.
7.Delete batch header record (F48011) using N48S0290- Delete F48011 batch header records.
The program ID will determine if the entire batch or an individual invoice is being deleted. This function can be called from P48221 Service Billing Batch
Review which will delete all invoices in the batch, P48222 Invoice Entry Review which will delete an individual invoice or from P5222 Billing Line Inquiry
which will delete an individual invoice. The batch header record will be deleted if no invoices remain in the batch.
D5200810 - Contract Billing Batch Delete
ICUBatch NoIR
EV01Type of DeleteIR
EV01Clear ModeIR
BCTYBatch Type-SBIR
PIDProgram IDIR
DOCZInvoice NumberIR
DCTIInvoice Doc TypIR
KCOIInv Doc CoIR
^
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
mnBatchNumber | ICU | MATH_NUMERIC | REQ | INPUT |
A number that identifies a group of transactions that the system processes and balances as a unit. When you enter a batch, you can either
| ||||
cTypeofDelete | EV01 | char | REQ | INPUT |
An option that specifies the type of processing for an event. | ||||
cClearMode | EV01 | char | REQ | INPUT |
An option that specifies the type of processing for an event. | ||||
szProgramId | PID | char | REQ | INPUT |
The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry
| ||||
cBatchTypeServBill | BCTY | char | REQ | INPUT |
A code that specifies whether the batch is from the Service Billing system or the Contract Billing system. Valid values are:
3
Service
| ||||
mnInvoiceNo | DOCZ | MATH_NUMERIC | OPT | INPUT |
The original document number. This can be a voucher, an invoice, unapplied cash, a journal entry number, etc. Matching document
| ||||
szInvoiceType | DCTI | char | OPT | INPUT |
A user defined (00/DI) document type for invoice entry. Any document type set up for invoice-only entry should begin with the letter R
| ||||
szInvoiceCompany | KCOI | char | OPT | INPUT |
Invoice Document Company. |
None |
None |