F1721PushHeaderDataToDetail

F1721 Push Header Data to Detail

Minor Business Rule

Object Name: N1702050

Parent DLL: CCRIN

Location: Client/Server

Language: NER

Functional Description

Purpose

This function will update selected header information to the contract detail lines.   Due to grid processing constraints, this update must be done in a 

NER (not all detail lines are loaded into the grid for a large contract).


Setup Notes and Prerequisites


Special Logic

The calling program will need to terminate the prepayment cache by calling B0000954 with action code 8 (to terminate cache).


Data Structure

D1702050 - F1721 Push Header Data to Detail

Parameter NameData ItemData TypeReq/OptI/O/Both
mnDocumentOrderInvoiceEDOCOMATH_NUMERICREQINPUT

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.

szContractChangeNumCOCHcharREQINPUT

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.

szUnitOfMeasureUMcharREQINPUT

A user defined code (00/UM) that identifies the unit of measurement for an amount or quantity. For example, it can represent a barrel, box, 
cubic meter, liter, hour, and so on.

mnAddressNumberAN8MATH_NUMERICREQINPUT

A number that identifies an entry in the Address Book system, such as employee, applicant, participant, customer, supplier, tenant, or 
location.

cEverestEventPoint01EV01charREQINPUT

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

szProgramIdPIDcharREQINPUT

The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry 
interactive program is P4210, and the number of the Print Invoices batch process report is R42565. The program ID is a variable length value. 
It is assigned according to a structured syntax in the form TSSXXX, where: T The first character of the number is alphabetic and identifies the 
type, such as P for Program, R for Report, and so on. For example, the value P in the number P4210 indicates that the object is a 
program. SS The second and third characters of the number are numeric and identify the system code. For example, the value 42 in the number P4210 
indicates that this program belongs to system 42, which is the Sales Order Processing system. XXX The remaining characters of the numer are 
numeric and identify a unique program or report. For example, the value 10 in the number P4210 indicates that this is the Sales Order Entry 
program.

mnJobnumberAJOBSMATH_NUMERICREQINPUT

The job number (work station ID) which executed the particular job.

cErrorCodeERRCcharOPTNONE

This error code indicates if any errors occurred during the creation of the Trip Document Detail (F4914) records by the Delivery Document 
Set Server program (XT4914).

cEverestEventPoint01_2EV01charREQINPUT

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

szSpecialHandlingCodeSPHDcharREQINPUT

A code that indicates special processing requirements for certain user defined code values. The value that you enter in this field is unique 
for each user defined code type. The system uses the special handling code in many ways. For example, special handling codes defined for 
Language Preference specify whether the language is double-byte or does not have uppercase characters. Programming is required to 
activate this field.

szCustomerGroupCodeCGPCcharREQINPUT

Related Functions

None

Related Tables

None
F1721UpdateDetailCustomer

F1721UpdateDetailCustomer

F1721 Push Header Data to Detail

Minor Business Rule

Object Name: N1702050

Parent DLL: CCRIN

Location: Client/Server

Language: NER

Functional Description

Purpose

This function will read through all contract detail lines for a given contract and update the customer and the  business unit and its related company 

number.


Data Structure

D1702050A - F1721 Update Detail Customer and Company

Parameter NameData ItemData TypeReq/OptI/O/Both
mnDocumentOrderInvoiceEDOCOMATH_NUMERICREQINPUT

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.

szContractChangeNumCOCHcharREQINPUT

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.

mnAddressNumberAN8MATH_NUMERICREQINPUT

A number that identifies an entry in the Address Book system, such as employee, applicant, participant, customer, supplier, tenant, or 
location.

szCompanyCOcharREQINPUT

A code that identifies a specific organization, fund, or other reporting entity. The company code must already exist in the Company 
Constants table (F0010) and must identify a reporting entity that has a complete balance sheet. At this level, you can have intercompany 
transactions. Note: You can use company 00000 for default values such as dates and automatic accounting instructions. You cannot use company 00000 
for transaction entries.

szCostCenterMCUcharREQINPUT

An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit 
might be a warehouse location, job, project, work center, branch, or plant. You can assign a business unit to a document, entity, or person for 
purposes of responsibility reporting. For example, the system provides reports of open accounts payable and accounts receivable by 
business unit to track equipment by responsible department. Business unit security might prevent you from viewing information about business units 
for which you have no authority.

szProgramIdPIDcharREQINPUT

The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry 
interactive program is P4210, and the number of the Print Invoices batch process report is R42565. The program ID is a variable length value. 
It is assigned according to a structured syntax in the form TSSXXX, where: T The first character of the number is alphabetic and identifies the 
type, such as P for Program, R for Report, and so on. For example, the value P in the number P4210 indicates that the object is a 
program. SS The second and third characters of the number are numeric and identify the system code. For example, the value 42 in the number P4210 
indicates that this program belongs to system 42, which is the Sales Order Processing system. XXX The remaining characters of the numer are 
numeric and identify a unique program or report. For example, the value 10 in the number P4210 indicates that this is the Sales Order Entry 
program.

Related Functions

None

Related Tables

None
PushHeaderToDetail

PushHeaderToDetail

F1721 Push Header Data to Detail

Minor Business Rule

Object Name: N1702050

Parent DLL: CCRIN

Location: Client/Server

Language: NER

Functional Description

Purpose

This function will be used when changing a header value on the P1721, to copy the new values to the detail.  This function will not update any tables but 

rather be used to change grid values.


Setup Notes and Prerequisites

You must set the billable option based on the Line Type Rules.  If this is a NOT a free contract, set billable to 1.


Data Structure

D1702050B - Push Header To Detail

Parameter NameData ItemData TypeReq/OptI/O/Both
mnISiteNo_LANOLANOMATH_NUMERICOPTNONE

The address book number for the lessor, renter, or lending institution.

mnIBillToAddress_ANOBANOBMATH_NUMERICOPTNONE

The address number of an alternate location to which the owner wants the invoice (application) sent.

mnISentToAddress_USA5USA5MATH_NUMERICOPTNONE

User defined address book number.  This will be verified against Address Book.

szITaxExplCode_EXR1EXR1charOPTNONE

A hard-coded user defined code (00/EX) that controls the algorithm that the system uses to calculate tax and G/L distribution amounts. The 
system uses the tax explanation code in conjunction with the tax rate area and tax rules to determine how the tax is calculated. Each 
transaction pay item can be defined with a different tax explanation code.

szITaxArea_TXA1TXA1charOPTNONE

A code that identifies a tax or geographic area that has common tax rates and tax authorities. The system validates the code you enter 
against the Tax Areas table (F4008). The system uses the tax rate area in conjunction with the tax explanation code and tax rules to calculate tax 
and G/L distribution amounts when you create an invoice or voucher.

szCompany_COCOcharOPTNONE

A code that identifies a specific organization, fund, or other reporting entity. The company code must already exist in the Company 
Constants table (F0010) and must identify a reporting entity that has a complete balance sheet. At this level, you can have intercompany 
transactions. Note: You can use company 00000 for default values such as dates and automatic accounting instructions. You cannot use company 00000 
for transaction entries.

jdILineStartDate_CSDTCSDTJDEDATEOPTNONE

The date you actually start work on the contract.

jdIBillFrom_BTFRBTFRJDEDATEOPTNONE

The from date used to determine if a transaction is billed. The transaction is billed if the general ledger date falls between the from date and 
the through date.

jdIBillThru_BTDTBTDTJDEDATEOPTNONE

This field will be used in the Recurring Billing module as part of a date-oriented billing method, as opposed to period-oriented billing.  This 
field will contain the latest date for which billings have been generated for the associated billing line.

mnIBilliableDuration_BDURBDURMATH_NUMERICOPTNONE

The billing duration associated with a contract.

mnINonBillableDuration_CDURCDURMATH_NUMERICOPTNONE

The duration associated with a contract.

mnOSiteNumber_LANOLANOMATH_NUMERICOPTNONE

The address book number for the lessor, renter, or lending institution.

mnOBillToAddress_ANOBANOBMATH_NUMERICOPTNONE

The address number of an alternate location to which the owner wants the invoice (application) sent.

mnOSendToAddress_USA5USA5MATH_NUMERICOPTNONE

User defined address book number.  This will be verified against Address Book.

szOTaxExplCode_EXR1EXR1charOPTNONE

A hard-coded user defined code (00/EX) that controls the algorithm that the system uses to calculate tax and G/L distribution amounts. The 
system uses the tax explanation code in conjunction with the tax rate area and tax rules to determine how the tax is calculated. Each 
transaction pay item can be defined with a different tax explanation code.

szOTaxRateArea_TXA1TXA1charOPTNONE

A code that identifies a tax or geographic area that has common tax rates and tax authorities. The system validates the code you enter 
against the Tax Areas table (F4008). The system uses the tax rate area in conjunction with the tax explanation code and tax rules to calculate tax 
and G/L distribution amounts when you create an invoice or voucher.

jdOLineStartDate_CSDTCSDTJDEDATEOPTNONE

The date you actually start work on the contract.

jdOLineEndDate_CDTECDTEJDEDATEOPTNONE

The date you actually completed work on the contract.

jdOBillFrom_BTFRBTFRJDEDATEOPTNONE

The from date used to determine if a transaction is billed. The transaction is billed if the general ledger date falls between the from date and 
the through date.

jdOBillThru_BTDTBTDTJDEDATEOPTNONE

This field will be used in the Recurring Billing module as part of a date-oriented billing method, as opposed to period-oriented billing.  This 
field will contain the latest date for which billings have been generated for the associated billing line.

cOOneTimeBilling_EV01EV01charOPTNONE

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

mnOBeginPeriod_BPNBPNMATH_NUMERICOPTNONE

A number indicating the current billing period. This number is used in conjunction with the Billing Control and Recurring Billing files to allow 
the user to specify the billing period in relationship to the General Ledger date.

mnOBeginYear_BTFYBTFYMATH_NUMERICOPTNONE

The fiscal year related to either the end of the budget or the last G/L transaction for the job, whichever is later. For the year 1998, for 
example, 98 is the fiscal year. When you add a job using the Job Cost system, the current year is automatically assigned to this field. Note: The 
combination of this field and the Budget Thru Century field must be later in time than the combination of the Budget Start Century and Budget Start 
Fiscal Year fields.

mnOBeginCentury_CTRYCTRYMATH_NUMERICOPTNONE

The calendar century associated with the year. Enter is the first two digits of the year. For example, 19 indicates any year beginning with 19 
(1998, 1999), 20 indicates any year beginning with 20 (2000, 2001), and so on.

mnOEndPeriod_BPNBPNMATH_NUMERICOPTNONE

A number indicating the current billing period. This number is used in conjunction with the Billing Control and Recurring Billing files to allow 
the user to specify the billing period in relationship to the General Ledger date.

mnOEndYear_BTFYBTFYMATH_NUMERICOPTNONE

The fiscal year related to either the end of the budget or the last G/L transaction for the job, whichever is later. For the year 1998, for 
example, 98 is the fiscal year. When you add a job using the Job Cost system, the current year is automatically assigned to this field. Note: The 
combination of this field and the Budget Thru Century field must be later in time than the combination of the Budget Start Century and Budget Start 
Fiscal Year fields.

mnOEndCentury_CTRYCTRYMATH_NUMERICOPTNONE

The calendar century associated with the year. Enter is the first two digits of the year. For example, 19 indicates any year beginning with 19 
(1998, 1999), 20 indicates any year beginning with 20 (2000, 2001), and so on.

cBillable_EV01EV01charOPTNONE

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

cSuppressError_EV01EV01charOPTNONE

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

cErrorCode_ERRCERRCcharOPTNONE

This error code indicates if any errors occurred during the creation of the Trip Document Detail (F4914) records by the Delivery Document 
Set Server program (XT4914).

szErrorMsgID_DTAIDTAIcharOPTNONE

A code that identifies and defines a unit of information. It is an alphanumeric code up to 8 characters long that does not allow blanks or 
special characters such as %, &, or +. You create new data items using system codes 55-59. You cannot change the alias.

jdILineEndDate_CDTECDTEJDEDATEOPTNONE

The date you actually completed work on the contract.

mnOBillableDuration_BDURBDURMATH_NUMERICOPTNONE

The billing duration associated with a contract.

mnONonBillableDuration_CDURCDURMATH_NUMERICOPTNONE

The duration associated with a contract.

jdOriginalLineStart_CSDTCSDTJDEDATEOPTNONE

The date you actually start work on the contract.

Related Functions

None

Related Tables

None