F4211SalesOrderAgreementCache

Agreement Cache For Sales Order

Minor Business Rule

Object Name: B3800080

Parent DLL: CDIST

Location: Client/Server

Language: C

Data Structure

D3800080 - Agreement Cache for Sales Order

This data structure is designed to corresponse to F41UI001 Inventory Cache Keys.  The keys are the 
following:


JOBS - Job Number

CTID - Computer ID

LNID - Line Number

NLIN - Number Of Lines Ordered

DOCO - Order Number

DCTO - Order Type

KCOO - Order Key Company

SFXO - Order Suffix


The Mode Processing Code is as Followed:

'1' = Add

'2' = Update/Add

'3' = Fetch Single Record

'4' = Multiple Fetch with returning cursor

'5' = Delete



The keys passed into this structure must correspond to the keys used in XT4111Z1 are preferable.

^

Parameter NameData ItemData TypeReq/OptI/O/Both
mnJobNumber_JOBSJOBSMATH_NUMERICNONENONE

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

szComputerID_CTIDCTIDcharNONENONE

szAgreementNumber_DMCTDMCTcharNONENONE

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.

mnAgreementSupplement_DMCSDMCSMATH_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.

szProductSource_PSRPSRcharNONENONE

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.

szProductSourceType_PSRYPSRYcharNONENONE

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.

mnSequenceNumber_SEQSEQMATH_NUMERICNONENONE

A number that specifies the sequence of information.

mnOrderNumber_DOCODOCOMATH_NUMERICNONENONE

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.

szOrderType_DCTODCTOcharNONENONE

A user defined code (00/DT) that identifies the type of document. This code also indicates the origin of the transaction. J.D. Edwards has 
reserved document type codes for vouchers, invoices, receipts, and time sheets, which create automatic offset entries during the post 
program. (These entries are not self-balancing when you originally enter them.) The following document types are defined by J.D. Edwards and 
should not be changed: P Accounts Payable documents   R Accounts Receivable documents   T Payroll documents   I Inventory documents  
O Purchase Order Processing documents   J General Accounting/Joint Interest Billing documents   S Sales Order Processing documents

szOrderKeyCompany_KCOOKCOOcharNONENONE

A number that, along with order number and order type, uniquely identifies an order document (such as a purchase order, a contract, a 
sales order, and so on). If you use the Next Numbers by Company/Fiscal Year facility, the Automatic Next Numbers program (X0010) uses the 
order company to retrieve the correct next number for that company. If two or more order documents have the same order number and order 
type, the order company lets you locate the desired document. If you use the regular Next Numbers facility, the order company is not used to 
assign a next number. In this case, you probably would not use the order company to locate the document.

mnLineNumber_LNIDLNIDMATH_NUMERICNONENONE

A number that identifies multiple occurrences, such as line numbers on a purchase order or other document. Generally, the system assigns 
this number,but in some cases you can override it.

mnAgreementsFound_AFNDAFNDMATH_NUMERICNONENONE

mnLineNumberXREF_LNIXLNIXMATH_NUMERICNONENONE

cModeProcessing_MODEMODEcharNONENONE

The Mode Processing Code is as Followed:
'1' = Add

'2' = Update/Add

'3' = Fetch Single Record

'4' = Multiple Fetch with returning cursor

'5' = Delete


^

mnNumberOfLines_NLINNLINMATH_NUMERICOPTNONE

A number representing the number of lines on either a purchase or sales order. or The number of receivers recorded during the receipts 
process.  This field will be used in Voucher Matching.

szOrderSuffix_SFXOSFXOcharOPTNONE

In the A/R and A/P systems, a code that corresponds to the pay item. In the Sales Order and Procurement systems, this code identifies 
multiple transactions for an original order. For purchase orders, the code is always 000. For sales orders with multiple partial receipts against an 
order, the first receiver used to record receipt has a suffix of 000, the next has a suffix of 001, the next 002, and so on.

idCacheCursor_GENLNGGENLNGIDOPTNONE

General purpose ID variable.

mnNumberOfKeys_CDLCDLMATH_NUMERICOPTNONE

The length of the user defined code. It cannot be greater than 10 characters.

cLastRecordRead_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).

cSuppressErrorMessage_SUPPSSUPPScharOPTNONE

A flag indicating whether or not runtime error messaging will occur when an error message is issued from a business function.        0 = allow 
runtime error message handling.        1 = suppress runtime error message handling.

Related Functions

None

Related Tables

None