Functional Description
Purpose
The purpose of this business function is to check if any lines of the contract have been billed. This is typically used at the header level for disabling
fields based on detail values (not shown).
Setup Notes and Prerequisites
A valid contract must exist
Technical Specification
// =============================================================
// I N I T I A L I Z E V A R I A B L E S
// =============================================================
BF szDataItem_DTAI = ""
BF cErrorCode_ERRC = ""
BF cBilled_EV01 = ""
BF cSuppressError_EV01 = ""
BF cMode_EV01 = ""
BF cBilled_EV01 = ""
VA evt_cBilledFlag_BILLF = "1"
// =============================================================
F1721.Select
BF mnDocumentOrderInvoiceE = TK Document (Order No, Invoice, etc.)
BF szContractChangeNum = TK Contract Change Number
VA evt_cBilledFlag_BILLF = TK Billed Flag (Y/N)
F1721.Fetch Next
BF mnDocumentOrderInvoiceE <- TK Document (Order No, Invoice, etc.)
If SV File_IO_Status is equal to CO SUCCESS
BF cBilled_EV01 = "1"
End If
//
D1702820 - F1721 Get Billed Line
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
mnDocumentOrderInvoiceE | DOCO | MATH_NUMERIC | OPT | INPUT |
A number that identifies an original document. This document can be a voucher, a sales order, an invoice, unapplied cash, a journal entry,
| ||||
szContractChangeNum | COCH | char | OPT | INPUT |
The change number of the contract. The change order number of the base contract is always initialized to 000. Each time you enter a
| ||||
cBilled_EV01 | EV01 | char | OPT | NONE |
An option that specifies the type of processing for an event. | ||||
cMode_EV01 | EV01 | char | OPT | NONE |
Not Currently Used | ||||
cSuppressError_EV01 | EV01 | char | OPT | NONE |
Not Currently Used | ||||
cErrorCode_ERRC | ERRC | char | OPT | NONE |
Not currently used | ||||
szDataItem_DTAI | DTAI | char | OPT | NONE |
Not currently used |
None |
None |