F38012RetreiveParentChild

F38012 Retrieve Parent / Child Records

Minor Business Rule

Object Name: B3800030

Parent DLL: CDIST

Location: Client/Server

Language: C

Data Structure

D3800030 - F38012 Retrieve Parent /Child Records

Parameter NameData ItemData TypeReq/OptI/O/Both
cLastCacheRecordReadEV01charNONENONE

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

idCursorPointerGENLNGIDNONENONE

General purpose ID variable.

mnContractSupplementDistriDMCSMATH_NUMERICNONENONE

The supplement number records any changes or addendum to agreements that occur over time or by item. It can also indicate individual 
agreements that are tied to a master agreement. The system allows up to 999 different supplements per base agreement number.

szContractNumberDistributiDMCTcharNONENONE

A unique number your company assigns to identify a particular agreement. You might want to assign some significance to the agreement 
number (for example,an agreement type code, location, year, and so forth). An agreement might have multiple supplements to record 
addendum or changes, for example.

mnIdentifierShortItemITMMATH_NUMERICNONENONE

An inventory item number. The system provides three separate item numbers plus an extensive cross-reference capability to other item 
numbers (see data item XRT) to accommodate substitute item numbers, replacements, bar codes, customer numbers, supplier numbers, and 
so forth. The item numbers are as follows:   o Item Number (short) - An eight-digit, computer-assigned item number     o 2nd Item Number - The 
25-digit, free-form, user defined alphanumeric item number     o 3rd Item Number - Another 25-digit, free-form, user defined alphanumeric item 
number

jdDateEffectiveJulian1EFTJJDEDATENONENONE

The date when a transaction, contract, obligation, preference, or policy rule becomes effective.

jdDateExpiredJulian1EXDJJDEDATENONENONE

The date on which a transaction, text message, agreement, obligation, or preference has expired or been completed.

szCostCenterMCUcharNONENONE

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.

cDueToDTOcharNONENONE

A code that identifies which partner is due to receive the listed item. Valid values are:    C Company - Your company expects to receive 
product from the partner.    P Partner - Your partner expects to receive product from your company.

mnContractQuantityCNQTMATH_NUMERICNONENONE

The gross quantity for the life of the contract.

szParentContractNumberPAGMcharNONENONE

A number that identifies a parent agreement for the displayed agreement. Use the parent agreement and supplement numbers to define a 
relationship between two or more agreements. The system uses the parent agreement and supplement numbers in the Agreement Search, 
Online Statement, and Online Balance Inquiry programs to determine the data to display.

mnParentContractSupplementPAGSMATH_NUMERICNONENONE

Used to record changes or addenda to agreements that occur over time or by product.  It can also indicate individual agreements tied to a 
master agreement. The system allows up to 999 different supplements per base agreement number.

szProductSourceTypePSRYcharNONENONE

A code that specifies the type of source entered in the Transaction Source field, as follows:     o If the transaction source is an address book 
number in the Address Book Master table (F0101), the source type must be AB.     o If the transaction source is a business unit in the Business 
Unit Master table (F0006), the source type must be CC.     o If the transaction source is *ANY, the source type must be *A.

szProductSourcePSRcharNONENONE

A value that identifies the location that supplies the item to fulfill the agreement. The value must match the Source Type code, as follows:     o 
If the source type is AB, the transaction source must be an address book number in the Address Book Master table (F0101).     o If the 
source type is CC, the transaction source must be a business unit in the Business Unit Master table (F0006).     o If the source type *A, the 
transaction source must be *ANY.

mnAmountFieldAAMATH_NUMERICNONENONE

A number that identifies the amount that the system will add to the account balance of the associated account number.  Enter credits with a 
minus sign (-) either before or after the amount. 

cPriceatAmbiantorStandardPRAScharNONENONE

Identifies the price extension calculation method. Valid Values are:    A Unit price X delivered volume at ambient temperature    S Unit price X 
delivered volume at standard temperature    W Unit price X delivered weight  If the invoice is printed prior to delivery, the price extension 
calculation uses the order quantity in the pricing unit of measure. That is, ambient and standard quantity will be the same.

mnLevelIndentedLVMATH_NUMERICNONENONE

A number indicating the level of a child in the relationship to its parent in a hierarchy.

mnJobnumberAJOBSMATH_NUMERICNONENONE

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

mnQuantityTransactionTRQTMATH_NUMERICNONENONE

A value that represents the available quantity, which might consist of the on-hand balance minus commitments, reservations, and 
backorders. You enter this value in the Branch/Plant Constants program (P41001).

mnCommittedQuantityQCOMMATH_NUMERICNONENONE

Current balance of agreement transactions which have been committed.

mnBalanceQuantityQBALMATH_NUMERICNONENONE

Current balance of agreement transactions which have been posted.

mnScheduledQuantity_2CNQTMATH_NUMERICNONENONE

The gross quantity for the life of the contract.

cModeProcessingMODEcharNONENONE

The processing mode used in Purchase Order Consolidator to signify when specific orders are being processed.

szDestinationDEScharNONENONE

A value that identifies where an item on the agreement is delivered. This required field must match the Destination Type code, as follows:     
o If the destination type is AB, the destination must be an address book number in the Address Book Master table (F0101).     o If the 
destination type is CC, the destination must be a business unit in the Business Unit Master table (F0006).     o If the destination type is *A, the 
destination must be *ANY.

szDestinationTypeDESYcharNONENONE

A code that identifies the type of destination. Valid values are:    AB The destination must be an Address Book number.    CC The destination 
must be a business unit.    *A The destination can be any location.

szUnitOfMeasureAsInputUOMcharNONENONE

A user defined code (00/UM) that indicates the quantity in which to express an inventory item, for example, CS (case) or BX (box).

cReverseQuantityEV01charNONENONE

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

mnTransactionAmountAAMATH_NUMERICNONENONE

A number that identifies the amount that the system will add to the account balance of the associated account number.  Enter credits with a 
minus sign (-) either before or after the amount. 

mnCommittedAmountAAMATH_NUMERICNONENONE

A number that identifies the amount that the system will add to the account balance of the associated account number.  Enter credits with a 
minus sign (-) either before or after the amount. 

mnBalanceAmountAAMATH_NUMERICNONENONE

A number that identifies the amount that the system will add to the account balance of the associated account number.  Enter credits with a 
minus sign (-) either before or after the amount. 

mnScheduledAmountAAMATH_NUMERICNONENONE

A number that identifies the amount that the system will add to the account balance of the associated account number.  Enter credits with a 
minus sign (-) either before or after the amount. 

mnAddressNumberAN8MATH_NUMERICOPTNONE

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

mnLevelIndented_2LVMATH_NUMERICOPTNONE

A number indicating the level of a child in the relationship to its parent in a hierarchy.

szCurrencyCodeFromCRCDcharOPTNONE

A code that identifies the currency of a transaction. 

Related Functions

None

Related Tables

F38010 Agreement Master
F38012 Product Source/Destination Master
F38013 Agreement Quantities Schedule
F38111 Agreements Transaction Ledger
F38112 Agreements Committed Quantities