F1721GetBilledLine

F1721 Get Billed Line

Minor Business Rule

Object Name: N1702820

Parent DLL: CCRIN

Location: Client/Server

Language: NER

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

//




Data Structure

D1702820 - F1721 Get Billed Line

Parameter NameData ItemData TypeReq/OptI/O/Both
mnDocumentOrderInvoiceEDOCOMATH_NUMERICOPTINPUT

A number that identifies an original document. This document can be a voucher, a sales order, an invoice, unapplied cash, a journal entry, 
and so on.

szContractChangeNumCOCHcharOPTINPUT

The change number of the contract. The change order number of the base contract is always initialized to 000. Each time you enter a 
change order for a contract, the system automatically increases the change order number by one. For example, the base contract is the change 
order number 000, the first change order is 001, the second is 002, and so on.

cBilled_EV01EV01charOPTNONE

An option that specifies the type of processing for an event.

cMode_EV01EV01charOPTNONE

Not Currently Used

cSuppressError_EV01EV01charOPTNONE

Not Currently Used

cErrorCode_ERRCERRCcharOPTNONE

Not currently used

szDataItem_DTAIDTAIcharOPTNONE

Not currently used

Related Functions

None

Related Tables

None