F38012GetSourceDestinationInfo

F38012 Get Source/Destinaiton Information

Minor Business Rule

Object Name: N3800100

Parent DLL: CDIST

Location: Client/Server

Language: NER

Named ER Specification

Source NameN3800100DesignerMarie Midgley
Data Structure 
D3800100AProgrammerMarie Midgley
Function Name
F38012GetSourceDestinationInfoSystem Code38
Function Description
F38012 Get Source/Destination Info Function Category
Function Use

Revisions Log 
Modifications bySAR NumberDescription
6/12/98Marie Midgley1765283Created



Functional Description

1.1Purpose
The purpose of this Named ER is to retrieve data from the F38010. F38012, F38011.

Setup Notes and Prerequisites

Called in Agreement Quantity Schedule application in Post Dialog

2.2Special Logic



Technical Specifications



2.2Parameters:

Data Item Data Structure DescriptionI/ORequiredNotes
DMCTAgreement NumberIYes

DMCSAgreement Number SuppIYes

PSRProduct SourceINo

PSRYProduct Source TypeIYes

SEQSequence NumberIYes

DL01DesciptionONo

DESDestinationONo

DESYDestination TypeONo

ITMShort Item NumberONo

CRCDCurrency Code FromONo

MCUBranch / PlantONo

DTODue ToONo

UOMUnit of MeasureONo

CNQYContract Qty TypeONo

DMTCContract  TypeONo

CNQTContract QuantityONo

AAAmountONo

DL01DescriptionNo

DL02DescriptionNo

EFTJEffective DateONo

EFDJExpired DateONo


2.2Related Tables 

Table Table Description
F38010Agreement Master

F38011Agreement Quantities

F38012Agreement Source/Destination 


2.3Related Business Functions

Source NameFunction Name







2.4Processing 


F38010.Fetch Single

F38012.Fetch Single

If SV File_IO_Status is equal to CO SUCCESS 

F38011.Fetch Single

End If



















^

Data Structure

D3800100A - F38012 Get Source/Destination Information

Parameter NameData ItemData TypeReq/OptI/O/Both
szAgreementNumberDMCTcharOPTNONE

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.

mnAgreementSupplementDMCSMATH_NUMERICOPTNONE

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.

szSourcePSRcharOPTNONE

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.

szSourceTypePSRYcharOPTNONE

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.

mnSequenceNumber1SEQMATH_NUMERICOPTNONE

A number that specifies the sequence of information.

szAgreementDescriptionDL01charOPTNONE

A user defined name or remark.

szDestinationDEScharOPTNONE

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.

szDestinationTypeDESYcharOPTNONE

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.

mnShortItemITMMATH_NUMERICOPTNONE

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

szAgreementCurrecnyCRCDcharOPTNONE

A code that identifies the currency of a transaction. 

szBusinessUnitMCUcharOPTNONE

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.

cDueToDTOcharOPTNONE

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.

szUOMUOMcharOPTNONE

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

cAgreementQuantityTypeCNQYcharOPTNONE

A code that indicates if this agreement is based on quantity by item or currency amount. Valued values are:    Q Quantity    A Currency 
Amount If you specify Q, you can enter quantity and unit of measure for the products covered by the agreement. If you specify A, you can enter 
currency amounts covered by the agreement. The system calculates currency amounts on the price for sales order transactions or the cost for 
purchase transactions.

cAgreementTypeDMTCcharOPTNONE

A user defined code that indicates the general type of the agreement.

mnAgreementQuantityCNQTMATH_NUMERICOPTNONE

The gross quantity for the life of the contract.

mnQuantityAmountAAMATH_NUMERICOPTNONE

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. 

szSourceDescriptionDL01charOPTNONE

A user defined name or remark.

szDestinationDescriptionDL02charOPTNONE

Additional text that further describes or clarifies a field in the system.

jdEffectiveDateEFTJJDEDATEOPTNONE

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

jdExpiredDateEFDJJDEDATEOPTNONE

The date when a transaction, contract, obligation, preference, or policy rule ceases to be in effect.

Related Functions

None

Related Tables

None