BillingDetailRetrievalFunction

Retrieve Billing Detail Information Function (F4812/F4812H)

Minor Business Rule

Object Name: N48S0600

Parent DLL: CCRIN

Location: Client/Server

Language: NER

Data Structure

D48S0600 - Retrieve Billing Detail Information Data Structure

Parameter NameData ItemData TypeReq/OptI/O/Both
szDataAliasBillDetail_R01PBDR01PBDcharOPTINPUT

Use this parameter to retrieve information from the Billing Workfile (F4812). Each piece of information is associated with a unique field name. 
A one to eight character "Data Alias" identifies the field name. Enter the Data Alias (in upper case characters) which is associated with the 
information you want to retrieve from the table. Only select Data Aliases from the group associated with the Smart Field you are using. (Only 
use Alpha fields if using an Alpha Smart Field, Character fields if using a Character Smart Field, etc.) The following Data Aliases are available 
in this table: Alpha Fields    AID (Account ID)    SBAR(Adjustment Reason Code)    BCTK(Batch Control Key)    HMCU(Business Unit - Home)    
JMCU(Business Unit - Host)    MCU(Business Unit)    RP12(Category Code - Business Unit 12)    R001(Category Code - G/L 001)    
R002(Category Code - G/L 002)    R003(Category Code - G/L 003)    CO (Company)    CCR(Component Cost Rate Table)    CINR(Component Invoice Rate 
Table)    CRVR(Component Revenue Rate Table)    BLKK(Composite Key Block)    COCH(Contract Change Number)    CRCD(Currency Code - 
From)    CRCF(Currency Code - Origin)    CRCE(Currency Code - Source)    CPGP(Customer Price Group)    DC (Description - Compressed)    
KCOI(Document Company (Invoice))    OKCO(Document Company (Original Order))    PKCO(Document Company (Purchase Order))    
KCO(Document Company)    OSFX(Document Pay Item - Original)    SFX (Document Pay Item)    DCTI(Document Type - Invoice Only)    ODCT(Document 
Type - Original)    PDCT(Document Type - Purchase Order)    DCT(Document Type)    ERC(Equipment Rate Code)    ACL0(Equipment Rate 
Group)    EQWO(Equipment Worked On)    EQCG(Equipment Worked)    GLC(G/L Offset)    PRGR(Item Price Group)    RP11(Job Class)    
JBST(Job Step)    JBCD (Job Type (Craft) Code)    LT (Ledger Type)    EXA (Name - Alpha Explanation)    EXR (Name - Remark Explanation)    OBJ 
(Object Account)    KCOO(Order Company (Order Number))    DCTO(Order Type)    AID5   (Override ADT Credit Account)    SBL5   (Override ADT 
Credit Subledger)    AID6   (Override ADT Debit Account)    SBL6   (Override ADT Debit Subledger)    OPIM (Owner Pay Item)    PCKO (Parent 
Contract Document Company)    PCTT (Parent Contract Type)    PARS (Parent Work Order Number)    PTAX (Payroll Tax Type)    WR01   (Phase)   
 PID (Program ID)    PO (Purchase Order Number)    PSFX (Purchase Order Suffix)    RGLC (Retention G/L Offset)    WR07   (Service Type)    
SBL (Subledger - G/L)    SUBA (Subsidiary - Alternate)    SUB (Subsidiary)    SBSK (Summarization Key - Service Billing)    VINV (Supplier Invoice 
Number)    EXR1   (Tax Explanation Code 1)    TXA1   (Tax Rate/Area)    UM (Unit of Measure)    USER (User ID)    JOBN (Work Station 
ID) Character Fields    BBF (Billing Basis Flag)    PCFG (Burden Flag)    BDPN(Burden Pending Flag)    CBLC(Coding Block Change Flag)    
CRRM(Currency Mode - Foreign or Domestic Entry)    DWNL(Download Flag)    ELGC (Eligibility Code)    ERDB (Exchange Rate Date Basis)    HLD (Hold 
Code - Service Billing Transaction)    FBAS (Invoice Fee Basis Flag)    IJST (Invoice Journal Status Code)    CAPI (Invoice Rate Cap Flag)    
JRST (Journal Status Code)    TKA1              (Key Type - Account Derivation Table 1)    TKA2              (Key Type - Account Derivation Table 2)    TKA3 
             (Key Type - Account Derivation Table 3)    TKG1              (Key Type - G/L Offset Table)    TKM1              (Key Type - Markup Table Type 
1)    TKM2              (Key Type - Markup Table Type 2)    TKM3              (Key Type - Markup Table Type 3)    TKT1              (Key Type - Tax 
Derivation Table)    TYKY (Key Type)    LSSQ (Last Sequence Flag)    NCTL (NTE Control Flag)    SBT5              (Override ADT Credit Subledger Type)   
 SBT

mnAccumRegisterNumb_R25PR25PMATH_NUMERICOPTINPUT

A value used to identify a register for storing retrieval code information. You can set up to 99 user defined registers. You can define 
additional retrieval references to print, or calculate and print, the contents of the register. For example, you could use this field to calculate grand 
totals. Valid values are: 1-99

jdDtForGLAndVouch1_DGLDGLJDEDATEOPTINPUT

A date that identifies the financial period to which the transaction is to be posted.  The company constants specify the date range for each 
financial period. You can have as many as 14 periods. Generally, period 14 is used for audit adjustments. The system validates this field for 
PBCO (posted before cutoff), PYEB (prior year ending balance), PACO (post after cutoff), and WACO (post way after cutoff) messages.

mnParentSequenceNbr_PRSQPRSQMATH_NUMERICOPTINPUT

A number that provides an audit trail to the original transaction of a billing detail transaction. The system initially assigns 000 as the parent 
sequence number. The number remains 000 unless you split the transaction. In this case,the sequence number (SBSQ) of the original 
transaction becomes the parent sequence number (PRSQ) for the resulting transactions.

mnSeqNbrServiceBilling_SBSQSBSQMATH_NUMERICOPTINPUT

A number that provides an audit trail for the billing detail transactions related to the same billing control ID. The system initially assigns 001 
as the sequence number (SBSQ) of the original transaction. If you split a transaction, the system increments the number to the next available 
sequence numbers (SBSQ) for the resulting transactions.

mnSecondarySequence_SCSQSCSQMATH_NUMERICOPTINPUT

A number you can use to track the changes applied to a billing detail transaction. The system initially assigns 001 as the secondary 
sequence number (SCSQ). Each time you modify the billing detail transaction, the system increases the number by 1.

mnBillingControlId_BCIBCIMATH_NUMERICOPTINPUT

A unique number that the system assigns to each billing record. The system assigns the number from the Next Numbers - Automatic table 
(F0002) for system 15, line 2 (Billing Control).

mnSplitLink_SLNKSLNKMATH_NUMERICOPTINPUT

The split link field ties component records to their base record when a transaction split occurs.

mnComponentLink_CLNKCLNKMATH_NUMERICOPTINPUT

A code that attaches the component record to its base work file record.

szComponentCode_CCODCCODcharOPTINPUT

A component code identifies a provisional burden that is accounted for at the billing detail transaction level.

cFooterSection_FTSCFTSCcharOPTINPUT

A hidden flag, embedded in the Invoice Print with Smart Fields program (R48507), that indicates whether a section is a footer or non-footer 
section. These values are passed into the smart fields when you design a version of the Invoice Print with Smart Fields program to determine 
whether the logic should use the Business View field or Previous Business View field. Valid values are: Blank Non-footer section. 1 Footer 
section.

jdPrevDtForGLAndVouch1_DGLDGLJDEDATEOPTINPUT

A date that identifies the financial period to which the transaction is to be posted.  The company constants specify the date range for each 
financial period. You can have as many as 14 periods. Generally, period 14 is used for audit adjustments. The system validates this field for 
PBCO (posted before cutoff), PYEB (prior year ending balance), PACO (post after cutoff), and WACO (post way after cutoff) messages.

mnPrevParentSequenceNbr_PRSQPRSQMATH_NUMERICOPTINPUT

A number that provides an audit trail to the original transaction of a billing detail transaction. The system initially assigns 000 as the parent 
sequence number. The number remains 000 unless you split the transaction. In this case,the sequence number (SBSQ) of the original 
transaction becomes the parent sequence number (PRSQ) for the resulting transactions.

mnPrevSeqNbrSrvcBilling_SBSQSBSQMATH_NUMERICOPTINPUT

A number that provides an audit trail for the billing detail transactions related to the same billing control ID. The system initially assigns 001 
as the sequence number (SBSQ) of the original transaction. If you split a transaction, the system increments the number to the next available 
sequence numbers (SBSQ) for the resulting transactions.

mnPrevSecondarySequence_SCSQSCSQMATH_NUMERICOPTINPUT

A number you can use to track the changes applied to a billing detail transaction. The system initially assigns 001 as the secondary 
sequence number (SCSQ). Each time you modify the billing detail transaction, the system increases the number by 1.

mnPrevBillingControlId_BCIBCIMATH_NUMERICOPTINPUT

A unique number that the system assigns to each billing record. The system assigns the number from the Next Numbers - Automatic table 
(F0002) for system 15, line 2 (Billing Control).

mnPrevSplitLink_SLNKSLNKMATH_NUMERICOPTINPUT

The split link field ties component records to their base record when a transaction split occurs.

mnPrevComponentLink_CLNKCLNKMATH_NUMERICOPTINPUT

A code that attaches the component record to its base work file record.

szPrevComponentCode_CCODCCODcharOPTINPUT

A component code identifies a provisional burden that is accounted for at the billing detail transaction level.

cPrintedFlag_PRTFPRTFcharOPTINPUT

This code identifies whether a particular transaction has been printed. If the transaction has not been printed, this field will be blank. If it has 
been printed, this field will contain the Invoice Type value (for example, "D" for draft or "F" for final) of the Invoice Format on which the 
transaction was last printed.

cPrevPrintedFlag_PRTFPRTFcharOPTINPUT

This code identifies whether a particular transaction has been printed. If the transaction has not been printed, this field will be blank. If it has 
been printed, this field will contain the Invoice Type value (for example, "D" for draft or "F" for final) of the Invoice Format on which the 
transaction was last printed.

mnNumericField_MATH01MATH01MATH_NUMERICOPTOUTPUT

- - - Good Performance Low Value. 

cCharacterField_A101A101charOPTOUTPUT

A code that identifies whether a document originates in the Engineering Project Management system.

jdDateField_DTEDTEJDEDATEOPTOUTPUT

You can enter a date with or without slashes (/) or dashes (-) as separators. If you leave a date entry field blank, the system supplies the 
current date.

szAlphaField_DS01DS01charOPTOUTPUT

A free-form, 80-character text field.

szErrorCode_ERNOERNOcharOPTOUTPUT

The error number assigned by the JDE edit/update programs designating the exact error that occured.

Related Functions

None

Related Tables

None