DeleteCacheMemory

Cache Multiple Record Return

Major Business Rule

Object Name: B4100380

Parent DLL: COPBASE

Location: Client/Server

Language: C

Functional Description

Purpose

This function deletes records in teh cache using Cache Memory Management. 


Setup Notes and Prerequisites


Special Logic 


Technical Specification


Parameters

Data Item     Data Structure Description     I/O     Required     Notes

GENLNG        Cache Handle                    B         Y


Related Tables


Related Business Functions


Processing

This function deletes the cache if the cache handle is not null.

Data Structure

D4100380C - Delete Cache Memory

Parameters
Data Item     Data Structure Description     I/O     Required     Notes
GENLNG        Cache Handle                    B         Y

^

Parameter NameData ItemData TypeReq/OptI/O/Both
idCacheHandleGENLNGIDNONENONE

General purpose ID variable.

Related Functions

None

Related Tables

None
LoadMultipleReturn

LoadMultipleReturn

Cache Multiple Record Return

Major Business Rule

Object Name: B4100380

Parent DLL: COPBASE

Location: Client/Server

Language: C

Functional Description

Purpose

This function allows multiple items to be loaded into a cache using Cache Memory Management.  The 

cache contains generic fields to be used from several calling programs.


Setup Notes and Prerequisites

The original record flag is not input from the user.  This is assigned by the program when records 

are written to the cache.  If this is the original record, the Original Record Flag = '0', otherwise, 

the Original Record Flag = '1'.


Special Logic



Technical Specification


Parameters

Data Item     Data Structure Description     I/O     Required     Notes

INT01         Original Record Flag            I         Y         This is not input from user, this 

should be assigned by the program

 when reocrds are written to cache.

Original record = 0

All other records = 1

UITM          Unknown Item Number             I  N

MCU           Branch/Plant                    I  N

LOCN          Location                        I         N

LOTN          Lot Number                      I         N

CATN          Catalog Number                  I         N

VEND          Supplier Number                 I         N

DOCO          Order Number                    I         N

DCTO          Document Type                   I         N

KCOO          Key Company                     I         N

SFXO          Suffix Number                   I         N

LNID          Order Line Number               I         N

UORG          Quantity                        I         N

UOM           Unit of Mesasure                I         N

LOT1          Memo Lot 1                      B         N

LOT2          Memo Lot 2                      B         N

LOT3          Memo Lot 3                      B         N

RLOT          Vendor Lot Number               B         N

MMEJ          Date - Layer Expiration         B         N

LOTS          Lot Status Code                 B         N

LNID          Line Number                     B         N

GENLNG        Cache Handle                    B         N


Related Tables


Related Business Functions


Processing

This function creates a cache, if the cache handle passed in is null.  If a cache handle is passed 

in, this is used to modify the cache.  The cache may contain any number of the following fields:  Item 

Number, Branch/Plant, Location, Lot Number, Catalog Number, Supplier Number, Order Number, Document 

Type, Key Company, Suffix, Line Number, Quantity and/or Unit of Measure.

^

Data Structure

D4100380A - Load Multiple Return

Parameters
Data Item     Data Structure Description     I/O     Required     Notes
INT01         Original Record Flag            I         Y         This is not input from user, this 
should be assigned by the program

 when reocrds are written to cache.

Original record = 0

All other records = 1

UITM          Unknown Item Number             I  N

MCU           Branch/Plant                    I  N

LOCN          Location                        I         N

LOTN          Lot Number                      I         N

CATN          Catalog Number                  I         N

VEND          Supplier Number                 I         N

DOCO          Order Number                    I         N

DCTO          Document Type                   I         N

KCOO          Key Company                     I         N

SFXO          Suffix Number                   I         N

LNID          Order Line Number               I         N

UORG          Quantity                        I         N

UOM           Unit of Mesasure                I         N

LOT1          Memo Lot 1                      B         N

LOT2          Memo Lot 2                      B         N

LOT3          Memo Lot 3                      B         N

RLOT          Vendor Lot Number               B         N

MMEJ          Date - Layer Expiration         B         N

LOTS          Lot Status Code                 B         N

LNID          Line Number                     B         N

GENLNG        Cache Handle                    B         N



^

Parameter NameData ItemData TypeReq/OptI/O/Both
szItemNumberUITMcharNONENONE

A number that the system assigns to an item. It can be in short, long, or third item number format.

szBranchPlantMCUcharNONENONE

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.

szLocationLOCNcharNONENONE

The storage location from which goods will be moved.

szLotNumberLOTNcharNONENONE

A number that identifies a lot or a serial number. A lot is a group of items with similar characteristics.

szCatalogNumberCATNcharNONENONE

This is a grouping of suppliers and items for pricing purposes.

mnSupplierNumberVENDMATH_NUMERICNONENONE

The address book number of the preferred provider of this item.

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

szDocumentTypeDCTOcharNONENONE

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

szKeyCompanyKCOOcharNONENONE

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.

szSuffixNumberSFXOcharNONENONE

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.

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

mnQuantityUORGMATH_NUMERICNONENONE

The quantity of units affected by this transaction.

szUnitOfMeasureUOMcharNONENONE

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

mnUnitCostPRRCMATH_NUMERICNONENONE

The unit cost of one item, as purchased from the supplier, excluding freight,taxes, discounts, and other factors that might modify the actual 
unit cost you record when you receive the item.

nSequenceNumberINT01integerNONENONE

Data Item     Data Structure Description     I/O     Required     Notes
INT01         Original Record Flag            I         Y         This is not input from user, this 
ab  ab  ab  ab  ab  ab  ab  ab  ab  ab  ab should be assigned by the program

  ab  ab  ab  ab  ab  ab  ab  ab  ab  ab  ab when reocrds are written to cache.

ab  ab  ab  ab  ab  ab  ab  ab  ab  ab  ab Original record = 0

ab  ab  ab  ab  ab  ab  ab  ab  ab  ab  ab All other records = 1


^

szMemoLot1LOT1charNONENONE

A higher classification or grouping of serial number or lot processed items,maintained within the Lot Master (F4108).

szMemoLot2LOT2charNONENONE

A higher classification or grouping of memo lot 1 maintained within the lot master (F4108).

szMemoLot3LOT3charNONENONE

A higher classification or grouping of memo lot 2 and memo lot 1 maintained within the lot master (F4108).

szVendorLotNumberRLOTcharNONENONE

The supplier's lot number for the item.

jdDateLayerExpirationMMEJJDEDATENONENONE

The date on which a lot of items expires. The system automatically enters this date if you have specified the shelf life days for the item on 
Item Master Information or Item Branch/Plant Information. The system calculates the expiration date by adding the number of shelf life days to 
the date that you receive the item. You can commit inventory based on the lot expiration date for items. You choose how the system commits 
inventory for an item on Item Master Information or Item Branch/Plant Information.

cLotStatusCodeLOTScharNONENONE

A user defined code (41/L) that indicates the status of the lot. If you leave this field blank, it indicates that the lot is approved. All other codes 
indicate that the lot is on hold. You can assign a different status code to each location in which a lot resides on Item/Location Information or 
Location Lot Status Change.

mnIdentifierShortItemITMMATH_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

mnQtyOnHandPrimaryUnPQOHMATH_NUMERICOPTNONE

The number of units that are physically in stock. The system displays the quantity on-hand in the primary unit of measure.

mnLotPotencyLOTPMATH_NUMERICOPTNONE

A code that indicates the potency of the lot expressed as a percentage of active or useful material (for example, the percentage of alcohol 
in a solution). The actual potency of a lot is defined in the Lot Master table (F4108).

szLotGradeLOTGcharOPTNONE

A code that indicates the grade of a lot. The grade is used to indicate the quality of the lot. Examples include the following:    A1   Premium 
grade    A2   Secondary grade  The grade for a lot is stored in the Lot Master table (F4108).

szDescriptionLine1DSC1charOPTNONE

Brief information about an item; a remark or an explanation.

cStockingTypeSTKTcharOPTNONE

A user defined code (41/I) that indicates how you stock an item, for example, as finished goods or as raw materials. The following stocking 
types are hard-coded and you should not change them:    0   Phantom item    B Bulk floor stock    C Configured item    E Emergency/corrective 
maintenance    F Feature    K Kit parent item    N Nonstock  The first character of Description 2 in the user defined code table indicates if the item 
is purchased (P) or manufactured (M).

mnQuantityAvailableQAVALMATH_NUMERICOPTNONE

A number that indicates the quantity that is available. For example, the available quantity might consist of the on-hand quantity minus 
commitments, reservations, and backorders.  Availability is user defined. You can set up availability in the Branch/Plant Constants program (P41001).  

mnDualQuantityDQTYMATH_NUMERICOPTNONE

The number of units (for the unit of measure) that is not contained in the unit of measure structure. For dual units of measure, the system 
tracks both the primary quantity and the secondary quantity. Depending on how the picking processing option is set, the system tracks either the 
primary unit of measure or the secondary unit of measure for a unit of measure structure.

szUnitOfMeasureSecondaryUOM2charOPTNONE

A user defined code (00/UM) that indicates an alternate unit of measure for the item.

jdBasedOnDateBODJJDEDATEOPTNONE

The date that the system uses in conjunction with the shelf life days to calculate the lot expiration date. You can enter this date during 
inventory completions. In addition to calculating the lot expiration date, the system uses the date that you enter in this field to calculate the following 
lot dates:   o Sell By Date   o Best Before Date   o Lot Effectivity Date   o User Lot Date 1   o User Lot Date 2   o User Lot Date 3   o User Lot Date 
4   o User Lot Date 5

jdLotEffectivityDateDLEJJDEDATEOPTNONE

The date on which a lot becomes available. The system uses this date for availability and commitment processing to indicate that the lot is 
available on or after the date that you specify. You must complete this field when inventory first becomes an on-hand quantity for the lot. If you 
leave this field blank, the system calculates the effective date of the lot by using the value for Effective Days in the Item Branch File table 
(F4102) or the current date if the value for Effective Days is zero.

jdOnHandDateOHDJJDEDATEOPTNONE

The date when a lot is considered to be on hand in a branch/plant. The system determines the on-hand date by using the transaction date 
upon which the first inventory for a particular lot is determined to be on hand. The system automatically assigns this date to the Lot Master 
table (F4108).

jdSellByDateSBDJJDEDATEOPTNONE

The date by which a lot should be completely sold. The system uses this date as a "through" date for commitment processing. The system 
calculates the sell by date using the value in the Sell By Days field, which is contained in the Item Branch File table (F4102), when inventory 
becomes available on-hand.

jdBestBeforeDateBBDJJDEDATEOPTNONE

The last date on which the products in a lot should be consumed. The system calculates the date by retrieving the value from the Best 
Before Days field in the Item Master program (P4101). You can also use this date as a "through" date for commitment processing. You can 
commit a lot by this date by using the Commitment Date Method field in the Item Branch program (P41026).

jdUserLotDate1U1DJJDEDATEOPTNONE

A date that the system can use as a through date for commitment processing. The system stores this date in the Lot Master table (F4108). If 
you leave this field blank, the system can calculate the date by using the value for the User Lot Date 1 Default Days field, which is stored in 
the Item Branch File table (F4102).

jdUserLotDate2U2DJJDEDATEOPTNONE

A user-defined date that can be used for commitment purposes and is stored in the Lot Master table (F4108). Similar to the Lot Expiration 
Date, User Lot Date 2 is a through date for commitment processing. The User Lot Date 2 commitment option is available in the Commitment 
Date Method in the Item Branch table (F4102). The system uses the User Lot Date 2 Default Days from the Item Branch table (F4102) to 
calculate User Lot Date 2 when inventory first goes on hand.

jdUserLotDate3U3DJJDEDATEOPTNONE

A user-defined date that can be used for commitment purposes and is stored in the Lot Master table (F4108). Similar to Lot Expiration Date, 
User Lot Date 3 is a through date for commitment processing. The User Lot Date commitment option is available in the Commitment Date 
Method in the Item Branch table (F4102). The system uses the User Lot Date 3 Default Days from the Item Branch table (F4102) to calculate User 
Lot Date 3 when inventory first goes on hand.   

jdUserLotDate4U4DJJDEDATEOPTNONE

A user-defined date that can be used for commitment purposes and is stored in the Lot Master table (F4108). Similar to Lot Expiration Date, 
User Lot Date 4 is a through date for commitment processing.   The User Lot Date commitment option is available in the Commitment Date 
Method in the Item Branch table (F4102). The system uses the User Lot Date 4 Default Days from the Item Branch table (F4102) to calculate 
User Lot Date 4 when inventory first goes on hand.

jdUserLotDate5U5DJJDEDATEOPTNONE

A user-defined date that can be used for commitment purposes and is stored in the Lot Master table (F4108). Similar to Lot Expiration Date, 
User Lot Date 5 is a through date for commitment processing.   The User Lot Date 5 commitment option is available in the Commitment Date 
Method in the Item Branch table (F4102). The system uses the User Lot Date 5 Default Days from the Item Branch table (F4102) to calculate 
User Lot Date 5 when inventory first goes on hand.

cBasePriceIndicatorBPINDcharOPTNONE

A user defined code that indicates which base price to use for related items. For example this code can specify using the price for the 
original item, the substitute item, or the best price, depending on the item's value. If this field is blank, the system uses the code specified in the 
Pricing for Substitute Items option on the Cross Ref tab in the Sales Order Entry processing options (P4210). 

cAdjustmentIndicatorADINDcharOPTNONE

A user defined code (42/IA) that indicates which price adjustment to use for related items. These adjustments can include the original item's 
adjustment, a substitute item's adjustment, the best adjustment, or no adjustment, depending on the item's value. If this field is blank, the 
system uses the value specified in the Pricing for Substitute Items processing option on the Cross Ref tab in the Sales Order Entry (P4210) 
processing options.

mnAdjustmentRevisionLevelAREVMATH_NUMERICOPTNONE

This field maintains the current revision level of Advanced Pricing adjustments awarded within a sales order. Adjustments associated with 
a revision level below the current level are considered obsolete.

cPriceOverrideCodePROVcharOPTNONE

A value established by the sales order entry program whenever a unit or extended price is entered into an order line item, overriding the 
price calculated by the program.

Related Functions

None

Related Tables

None
UnLoadMultipleReturn

UnLoadMultipleReturn

Cache Multiple Record Return

Major Business Rule

Object Name: B4100380

Parent DLL: COPBASE

Location: Client/Server

Language: C

Functional Description

Purpose

This function allows multiple items to be returned from the Cache.  It returns Item Number, 

Branch/Plant, Location, Lot Number, Catalog Number, Supplier Number, Order Number, Document Type, Key Company, 

Suffix, Line Number, Quantity and/or Unit of Measure.


Setup Notes and Prerequisites

Load Multiple Return must be called prior to calling this function.


Special Logic

Once the last record in the cache is read, the Last Record Read parameter is set to '1'.

The Suppress Terminate Cache parameter = '1' indicates that you wish to unload the cache without 

deleting it.  


Technical Specification


Parameters

Data Item     Data Structure Description     I/O     Required     Notes

INT01         Original Record Flag            O         Y         This is not input from user, this 

should be assigned by the program

 when reocrds are written to cache.

Original record = 0

All other records = 1

UITM          Unknown Item Number             I  N

MCU           Branch/Plant                    I  N

LOCN          Location                        I         N

LOTN          Lot Number                      I         N

CATN          Catalog Number                  I         N

VEND          Supplier Number                 I         N

DOCO          Order Number                    I         N

DCTO          Document Type                   I         N

KCOO          Key Company                     I         N

SFXO          Suffix Number                   I         N

LNID          Order Line Number               I         N

UORG          Quantity                        I         N

EV01          Last Record Read Flag           B         N

EV02          Suppress Terminate Cache        I         NPass a '1' into this field to be 

able

to unload the cache without 

deleting 

       it.  To be able to unload Cache 

again

LastRecordFlag = 1.

LOT1          Memo Lot 1                      B         N

LOT2          Memo Lot 2                      B         N

LOT3          Memo Lot 3                      B         N

RLOT          Vendor Lot Number               B         N

LOTS          Lot Status Code                 B         N

MMEJ          Date - Layer Expiration         B         N


Related Tables


Related Business Functions



Processing

This function retrieves records in the cache based on the line number passed in.  All records in the 

cache are read and once the last record is read, the Last Record Read parameter is set to '1'.  If the 

Last Record Read flag = '1' and the Suppress Terminate Flag is not equal to '1', the cache is 

destroyed.


Data Structure

D4100380B - UnLoad Multiple Return

Parameters
Data Item     Data Structure Description     I/O     Required     Notes
INT01         Original Record Flag            O         Y         This is not input from user, this 
should be assigned by the program

 when reocrds are written to cache.

Original record = 0

All other records = 1

UITM          Unknown Item Number             I  N

MCU           Branch/Plant                    I  N

LOCN          Location                        I         N

LOTN          Lot Number                      I         N

CATN          Catalog Number                  I         N

VEND          Supplier Number                 I         N

DOCO          Order Number                    I         N

DCTO          Document Type                   I         N

KCOO          Key Company                     I         N

SFXO          Suffix Number                   I         N

LNID          Order Line Number               I         N

UORG          Quantity                        I         N

EV01          Last Record Read Flag           B         N

EV02          Suppress Terminate Cache        I         NPass a '1' into this field to be 

able

to unload the cache without 

deleting 

       it.  To be able to unload Cache 

again

LastRecordFlag = 1.

LOT1          Memo Lot 1                      B         N

LOT2          Memo Lot 2                      B         N

LOT3          Memo Lot 3                      B         N

RLOT          Vendor Lot Number               B         N

LOTS          Lot Status Code                 B         N

MMEJ          Date - Layer Expiration         B         N


^

Parameter NameData ItemData TypeReq/OptI/O/Both
szItemNumberUITMcharNONENONE

A number that the system assigns to an item. It can be in short, long, or third item number format.

szBranchPlantMCUcharNONENONE

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.

szLocationLOCNcharNONENONE

The storage location from which goods will be moved.

szLotNumberLOTNcharNONENONE

A number that identifies a lot or a serial number. A lot is a group of items with similar characteristics.

szCatalogNumberCATNcharNONENONE

This is a grouping of suppliers and items for pricing purposes.

mnSupplierNumberVENDMATH_NUMERICNONENONE

The address book number of the preferred provider of this item.

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

szKeyCompanyKCOOcharNONENONE

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.

szSuffixNumberSFXOcharNONENONE

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.

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

cLastRecordReadFlagEV01charNONENONE

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

szDocumentTypeDCTOcharNONENONE

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

mnQuantityUORGMATH_NUMERICNONENONE

The quantity of units affected by this transaction.

szUnitOfMeasureUOMcharNONENONE

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

cSuppressTerminateCacheEV02charNONENONE

Parameters
Data Item     Data Structure Description     I/O     Required     Notes
EV02          Suppress Terminate Cache        I          Nab  ab Pass a '1' into this field to be able
ab  ab  ab  ab  ab  ab  ab  ab  ab  ab  ab to unload the cache without deleting  ab  ab  ab  ab  ab 

        ab  ab  ab  ab  ab  ab  ab  ab  ab  ab it.  To be able to unload Cache again

ab  ab  ab  ab  ab  ab  ab  ab  ab  ab  ab LastRecordFlag = 1.


^

mnUnitCostPRRCMATH_NUMERICNONENONE

The unit cost of one item, as purchased from the supplier, excluding freight,taxes, discounts, and other factors that might modify the actual 
unit cost you record when you receive the item.

nSequenceNumberINT01integerNONENONE

Parameters
Data Item     Data Structure Description     I/O     Required     Notes
INT01         Original Record Flag            O         Y         This is not input from user, this 
ab  ab  ab  ab  ab  ab  ab  ab  ab  ab  ab should be assigned by the program

  ab  ab  ab  ab  ab  ab  ab  ab  ab  ab  ab when reocrds are written to cache.

ab  ab  ab  ab  ab  ab  ab  ab  ab  ab  ab Original record = 0

ab  ab  ab  ab  ab  ab  ab  ab  ab  ab  ab All other records = 1


^

szMemoLot1LOT1charNONENONE

A higher classification or grouping of serial number or lot processed items,maintained within the Lot Master (F4108).

szMemoLot2LOT2charNONENONE

A higher classification or grouping of memo lot 1 maintained within the lot master (F4108).

szMemoLot3LOT3charNONENONE

A higher classification or grouping of memo lot 2 and memo lot 1 maintained within the lot master (F4108).

idCacheCursorGENLNGIDNONENONE

General purpose ID variable.

szVendorLotNumberRLOTcharNONENONE

The supplier's lot number for the item.

jdDateLayerExpirationMMEJJDEDATENONENONE

The date on which a lot of items expires. The system automatically enters this date if you have specified the shelf life days for the item on 
Item Master Information or Item Branch/Plant Information. The system calculates the expiration date by adding the number of shelf life days to 
the date that you receive the item. You can commit inventory based on the lot expiration date for items. You choose how the system commits 
inventory for an item on Item Master Information or Item Branch/Plant Information.

cLotStatusCodeLOTScharNONENONE

A user defined code (41/L) that indicates the status of the lot. If you leave this field blank, it indicates that the lot is approved. All other codes 
indicate that the lot is on hold. You can assign a different status code to each location in which a lot resides on Item/Location Information or 
Location Lot Status Change.

mnIdentifierShortItemITMMATH_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

mnQtyOnHandPrimaryUnPQOHMATH_NUMERICOPTNONE

The number of units that are physically in stock. The system displays the quantity on-hand in the primary unit of measure.

mnLotPotencyLOTPMATH_NUMERICOPTNONE

A code that indicates the potency of the lot expressed as a percentage of active or useful material (for example, the percentage of alcohol 
in a solution). The actual potency of a lot is defined in the Lot Master table (F4108).

szLotGradeLOTGcharOPTNONE

A code that indicates the grade of a lot. The grade is used to indicate the quality of the lot. Examples include the following:    A1   Premium 
grade    A2   Secondary grade  The grade for a lot is stored in the Lot Master table (F4108).

szDescriptionLine1DSC1charOPTNONE

Brief information about an item; a remark or an explanation.

cStockingTypeSTKTcharOPTNONE

A user defined code (41/I) that indicates how you stock an item, for example, as finished goods or as raw materials. The following stocking 
types are hard-coded and you should not change them:    0   Phantom item    B Bulk floor stock    C Configured item    E Emergency/corrective 
maintenance    F Feature    K Kit parent item    N Nonstock  The first character of Description 2 in the user defined code table indicates if the item 
is purchased (P) or manufactured (M).

mnQuantityAvailableQAVALMATH_NUMERICOPTNONE

A number that indicates the quantity that is available. For example, the available quantity might consist of the on-hand quantity minus 
commitments, reservations, and backorders.  Availability is user defined. You can set up availability in the Branch/Plant Constants program (P41001).  

mnDualQuantityDQTYMATH_NUMERICOPTNONE

The number of units (for the unit of measure) that is not contained in the unit of measure structure. For dual units of measure, the system 
tracks both the primary quantity and the secondary quantity. Depending on how the picking processing option is set, the system tracks either the 
primary unit of measure or the secondary unit of measure for a unit of measure structure.

szUnitOfMeasureSecondaryUOM2charOPTNONE

A user defined code (00/UM) that indicates an alternate unit of measure for the item.

jdBasedOnDateBODJJDEDATEOPTNONE

The date that the system uses in conjunction with the shelf life days to calculate the lot expiration date. You can enter this date during 
inventory completions. In addition to calculating the lot expiration date, the system uses the date that you enter in this field to calculate the following 
lot dates:   o Sell By Date   o Best Before Date   o Lot Effectivity Date   o User Lot Date 1   o User Lot Date 2   o User Lot Date 3   o User Lot Date 
4   o User Lot Date 5

jdLotEffectivityDateDLEJJDEDATEOPTNONE

The date on which a lot becomes available. The system uses this date for availability and commitment processing to indicate that the lot is 
available on or after the date that you specify. You must complete this field when inventory first becomes an on-hand quantity for the lot. If you 
leave this field blank, the system calculates the effective date of the lot by using the value for Effective Days in the Item Branch File table 
(F4102) or the current date if the value for Effective Days is zero.

jdOnHandDateOHDJJDEDATEOPTNONE

The date when a lot is considered to be on hand in a branch/plant. The system determines the on-hand date by using the transaction date 
upon which the first inventory for a particular lot is determined to be on hand. The system automatically assigns this date to the Lot Master 
table (F4108).

jdSellByDateSBDJJDEDATEOPTNONE

The date by which a lot should be completely sold. The system uses this date as a "through" date for commitment processing. The system 
calculates the sell by date using the value in the Sell By Days field, which is contained in the Item Branch File table (F4102), when inventory 
becomes available on-hand.

jdBestBeforeDateBBDJJDEDATEOPTNONE

The last date on which the products in a lot should be consumed. The system calculates the date by retrieving the value from the Best 
Before Days field in the Item Master program (P4101). You can also use this date as a "through" date for commitment processing. You can 
commit a lot by this date by using the Commitment Date Method field in the Item Branch program (P41026).

jdUserLotDate1U1DJJDEDATEOPTNONE

A date that the system can use as a through date for commitment processing. The system stores this date in the Lot Master table (F4108). If 
you leave this field blank, the system can calculate the date by using the value for the User Lot Date 1 Default Days field, which is stored in 
the Item Branch File table (F4102).

jdUserLotDate2U2DJJDEDATEOPTNONE

A user-defined date that can be used for commitment purposes and is stored in the Lot Master table (F4108). Similar to the Lot Expiration 
Date, User Lot Date 2 is a through date for commitment processing. The User Lot Date 2 commitment option is available in the Commitment 
Date Method in the Item Branch table (F4102). The system uses the User Lot Date 2 Default Days from the Item Branch table (F4102) to 
calculate User Lot Date 2 when inventory first goes on hand.

jdUserLotDate3U3DJJDEDATEOPTNONE

A user-defined date that can be used for commitment purposes and is stored in the Lot Master table (F4108). Similar to Lot Expiration Date, 
User Lot Date 3 is a through date for commitment processing. The User Lot Date commitment option is available in the Commitment Date 
Method in the Item Branch table (F4102). The system uses the User Lot Date 3 Default Days from the Item Branch table (F4102) to calculate User 
Lot Date 3 when inventory first goes on hand.   

jdUserLotDate4U4DJJDEDATEOPTNONE

A user-defined date that can be used for commitment purposes and is stored in the Lot Master table (F4108). Similar to Lot Expiration Date, 
User Lot Date 4 is a through date for commitment processing.   The User Lot Date commitment option is available in the Commitment Date 
Method in the Item Branch table (F4102). The system uses the User Lot Date 4 Default Days from the Item Branch table (F4102) to calculate 
User Lot Date 4 when inventory first goes on hand.

jdUserLotDate5U5DJJDEDATEOPTNONE

A user-defined date that can be used for commitment purposes and is stored in the Lot Master table (F4108). Similar to Lot Expiration Date, 
User Lot Date 5 is a through date for commitment processing.   The User Lot Date 5 commitment option is available in the Commitment Date 
Method in the Item Branch table (F4102). The system uses the User Lot Date 5 Default Days from the Item Branch table (F4102) to calculate 
User Lot Date 5 when inventory first goes on hand.

cBasePriceIndicatorBPINDcharOPTNONE

A user defined code that indicates which base price to use for related items. For example this code can specify using the price for the 
original item, the substitute item, or the best price, depending on the item's value. If this field is blank, the system uses the code specified in the 
Pricing for Substitute Items option on the Cross Ref tab in the Sales Order Entry processing options (P4210). 

cAdjustmentIndicatorADINDcharOPTNONE

A user defined code (42/IA) that indicates which price adjustment to use for related items. These adjustments can include the original item's 
adjustment, a substitute item's adjustment, the best adjustment, or no adjustment, depending on the item's value. If this field is blank, the 
system uses the value specified in the Pricing for Substitute Items processing option on the Cross Ref tab in the Sales Order Entry (P4210) 
processing options.

mnAdjustmentRevisionLevelAREVMATH_NUMERICOPTNONE

This field maintains the current revision level of Advanced Pricing adjustments awarded within a sales order. Adjustments associated with 
a revision level below the current level are considered obsolete.

cPriceOverrideCodePROVcharOPTNONE

A value established by the sales order entry program whenever a unit or extended price is entered into an order line item, overriding the 
price calculated by the program.

Related Functions

None

Related Tables

None
UpdateMultipleReturn

UpdateMultipleReturn

Cache Multiple Record Return

Major Business Rule

Object Name: B4100380

Parent DLL: COPBASE

Location: Client/Server

Language: C

Functional Description

Purpose

This function inquires, adds, deletes or updates the cache with changes based on the action code.


Setup Notes and Prerequisites

Valid values for action code (ACTN):

Add'1', 'A', 'a'

Change'2', 'C', 'c'

Delete'3', 'D', 'd'

Inquire'4', 'I', 'i'


Special Logic



Technical Specification


Parameters

Data Item     Data Structure Description     I/O     Required      Notes

INT01         Original Record Flag            I         Y         This is not input from user, this 

should be assigned by the program

 when reocrds are written to cache.

Original record = 0

All other records = 1

UITM          Unknown Item Number             I  N

MCU           Branch/Plant                    I  N

LOCN          Location                        I         N

LOTN          Lot Number                      I         N

CATN          Catalog Number                  I         N

VEND          Supplier Number                 I         N

DOCO          Order Number                    I         N

DCTO          Document Type                   I         N

KCOO          Key Company                     I         N

SFXO          Suffix Number                   I         N

UORG          Quantity                        I         N

UOM           Unit of Mesasure                I         N

EV01          Suppress Error Message          I         NPass in '1' to suppress the error 

msg.

ACTN          Action Code                     I         Y'1','A','a' for Add

'2','C','c' for Change

'3','D','d' for Delete

'4','I','i' for Inquire

DTAI          Error Message                   O         N

LOT1          Memo Lot 1                      B         N

LOT2          Memo Lot 2                      B         N

LOT3          Memo Lot 3                      B         N

RLOT          Vendor Lot Number               B         N

MMEJ          Date - Layer Expiration         B         N

LOTS          Lot Status Code                 B         N


Related Tables


Related Business Functions


Processing

This function updates the cache based on the action code value passed in.  The first record written 

to the cache receives a value of '0' in the Original Record Flag parameter.  All other records added to 

the cache receive a value of '1' in this parameter.  This ensures that the original record will 

always stay in the top position of the cache.  


Data Structure

D4100380D - Update Multiple Return

Parameters
Data Item     Data Structure Description     I/O     Required      Notes
INT01         Original Record Flag            I         Y         This is not input from user, this 
should be assigned by the program

 when reocrds are written to cache.

Original record = 0

All other records = 1

UITM          Unknown Item Number             I  N

MCU           Branch/Plant                    I  N

LOCN          Location                        I         N

LOTN          Lot Number                      I         N

CATN          Catalog Number                  I         N

VEND          Supplier Number                 I         N

DOCO          Order Number                    I         N

DCTO          Document Type                   I         N

KCOO          Key Company                     I         N

SFXO          Suffix Number                   I         N

UORG          Quantity                        I         N

UOM           Unit of Mesasure                I         N

EV01          Suppress Error Message          I         NPass in '1' to suppress the error 

msg.

ACTN          Action Code                     I         Y'1','A','a' for Add

'2','C','c' for Change

'3','D','d' for Delete

'4','I','i' for Inquire

DTAI          Error Message                   O         N

LOT1          Memo Lot 1                      B         N

LOT2          Memo Lot 2                      B         N

LOT3          Memo Lot 3                      B         N

RLOT          Vendor Lot Number               B         N

MMEJ          Date - Layer Expiration         B         N

LOTS          Lot Status Code                 B         N



^

Parameter NameData ItemData TypeReq/OptI/O/Both
szItemNumberUITMcharNONENONE

A number that the system assigns to an item. It can be in short, long, or third item number format.

szBranchPlantMCUcharNONENONE

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.

szLocationLOCNcharNONENONE

The storage location from which goods will be moved.

szLotNumberLOTNcharNONENONE

A number that identifies a lot or a serial number. A lot is a group of items with similar characteristics.

szCatalogNumberCATNcharNONENONE

This is a grouping of suppliers and items for pricing purposes.

mnSupplierNumberVENDMATH_NUMERICNONENONE

The address book number of the preferred provider of this item.

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

szDocumentTypeDCTOcharNONENONE

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

szKeyCompanyKCOOcharNONENONE

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.

szSuffixNumberSFXOcharNONENONE

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.

mnQuantityUORGMATH_NUMERICNONENONE

The quantity of units affected by this transaction.

szUnitOfMeasureUOMcharNONENONE

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

cSuppressErrorMessageEV01charNONENONE

Parameters
Data Item     Data Structure Description     I/O     Required      Notes
EV01          Suppress Error Message          I          Nab  ab Pass in '1' to suppress the error msg.

^

cActionCodeACTNcharNONENONE

Parameters
Data Item     Data Structure Description     I/O     Required      Notes
ACTN          Action Code                     I          Yab  ab '1','A','a' for Add
ab  ab  ab  ab  ab  ab  ab  ab  ab  ab  ab '2','C','c' for Change

ab  ab  ab  ab  ab  ab  ab  ab  ab  ab  ab '3','D','d' for Delete

ab  ab  ab  ab  ab  ab  ab  ab  ab  ab  ab '4','I','i' for Inquire


^

szErrorMessageDTAIcharNONENONE

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.

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

nSequenceNumberINT01integerNONENONE

Parameters
Data Item     Data Structure Description     I/O     Required      Notes
INT01         Original Record Flag            I         Y         This is not input from user, this 
ab  ab  ab  ab  ab  ab  ab  ab  ab  ab  ab should be assigned by the program

  ab  ab  ab  ab  ab  ab  ab  ab  ab  ab  ab when reocrds are written to cache.

ab  ab  ab  ab  ab  ab  ab  ab  ab  ab  ab Original record = 0

ab  ab  ab  ab  ab  ab  ab  ab  ab  ab  ab All other records = 1


^

szMemoLot1LOT1charNONENONE

A higher classification or grouping of serial number or lot processed items,maintained within the Lot Master (F4108).

szMemoLot2LOT2charNONENONE

A higher classification or grouping of memo lot 1 maintained within the lot master (F4108).

szMemoLot3LOT3charNONENONE

A higher classification or grouping of memo lot 2 and memo lot 1 maintained within the lot master (F4108).

szVendorLotNumberRLOTcharNONENONE

The supplier's lot number for the item.

jdDateLayerExpirationMMEJJDEDATENONENONE

The date on which a lot of items expires. The system automatically enters this date if you have specified the shelf life days for the item on 
Item Master Information or Item Branch/Plant Information. The system calculates the expiration date by adding the number of shelf life days to 
the date that you receive the item. You can commit inventory based on the lot expiration date for items. You choose how the system commits 
inventory for an item on Item Master Information or Item Branch/Plant Information.

cLotStatusCodeLOTScharNONENONE

A user defined code (41/L) that indicates the status of the lot. If you leave this field blank, it indicates that the lot is approved. All other codes 
indicate that the lot is on hold. You can assign a different status code to each location in which a lot resides on Item/Location Information or 
Location Lot Status Change.

mnIdentifierShortItemITMMATH_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

mnQtyOnHandPrimaryUnPQOHMATH_NUMERICOPTNONE

The number of units that are physically in stock. The system displays the quantity on-hand in the primary unit of measure.

mnLotPotencyLOTPMATH_NUMERICOPTNONE

A code that indicates the potency of the lot expressed as a percentage of active or useful material (for example, the percentage of alcohol 
in a solution). The actual potency of a lot is defined in the Lot Master table (F4108).

szLotGradeLOTGcharOPTNONE

A code that indicates the grade of a lot. The grade is used to indicate the quality of the lot. Examples include the following:    A1   Premium 
grade    A2   Secondary grade  The grade for a lot is stored in the Lot Master table (F4108).

szDescriptionLine1DSC1charOPTNONE

Brief information about an item; a remark or an explanation.

cStockingTypeSTKTcharOPTNONE

A user defined code (41/I) that indicates how you stock an item, for example, as finished goods or as raw materials. The following stocking 
types are hard-coded and you should not change them:    0   Phantom item    B Bulk floor stock    C Configured item    E Emergency/corrective 
maintenance    F Feature    K Kit parent item    N Nonstock  The first character of Description 2 in the user defined code table indicates if the item 
is purchased (P) or manufactured (M).

mnQuantityAvailableQAVALMATH_NUMERICOPTNONE

A number that indicates the quantity that is available. For example, the available quantity might consist of the on-hand quantity minus 
commitments, reservations, and backorders.  Availability is user defined. You can set up availability in the Branch/Plant Constants program (P41001).  

mnDualQuantityDQTYMATH_NUMERICOPTNONE

The number of units (for the unit of measure) that is not contained in the unit of measure structure. For dual units of measure, the system 
tracks both the primary quantity and the secondary quantity. Depending on how the picking processing option is set, the system tracks either the 
primary unit of measure or the secondary unit of measure for a unit of measure structure.

szUnitOfMeasureSecondaryUOM2charOPTNONE

A user defined code (00/UM) that indicates an alternate unit of measure for the item.

jdBasedOnDateBODJJDEDATEOPTNONE

The date that the system uses in conjunction with the shelf life days to calculate the lot expiration date. You can enter this date during 
inventory completions. In addition to calculating the lot expiration date, the system uses the date that you enter in this field to calculate the following 
lot dates:   o Sell By Date   o Best Before Date   o Lot Effectivity Date   o User Lot Date 1   o User Lot Date 2   o User Lot Date 3   o User Lot Date 
4   o User Lot Date 5

jdLotEffectivityDateDLEJJDEDATEOPTNONE

The date on which a lot becomes available. The system uses this date for availability and commitment processing to indicate that the lot is 
available on or after the date that you specify. You must complete this field when inventory first becomes an on-hand quantity for the lot. If you 
leave this field blank, the system calculates the effective date of the lot by using the value for Effective Days in the Item Branch File table 
(F4102) or the current date if the value for Effective Days is zero.

jdOnHandDateOHDJJDEDATEOPTNONE

The date when a lot is considered to be on hand in a branch/plant. The system determines the on-hand date by using the transaction date 
upon which the first inventory for a particular lot is determined to be on hand. The system automatically assigns this date to the Lot Master 
table (F4108).

jdSellByDateSBDJJDEDATEOPTNONE

The date by which a lot should be completely sold. The system uses this date as a "through" date for commitment processing. The system 
calculates the sell by date using the value in the Sell By Days field, which is contained in the Item Branch File table (F4102), when inventory 
becomes available on-hand.

jdBestBeforeDateBBDJJDEDATEOPTNONE

The last date on which the products in a lot should be consumed. The system calculates the date by retrieving the value from the Best 
Before Days field in the Item Master program (P4101). You can also use this date as a "through" date for commitment processing. You can 
commit a lot by this date by using the Commitment Date Method field in the Item Branch program (P41026).

jdUserLotDate1U1DJJDEDATEOPTNONE

A date that the system can use as a through date for commitment processing. The system stores this date in the Lot Master table (F4108). If 
you leave this field blank, the system can calculate the date by using the value for the User Lot Date 1 Default Days field, which is stored in 
the Item Branch File table (F4102).

jdUserLotDate2U2DJJDEDATEOPTNONE

A user-defined date that can be used for commitment purposes and is stored in the Lot Master table (F4108). Similar to the Lot Expiration 
Date, User Lot Date 2 is a through date for commitment processing. The User Lot Date 2 commitment option is available in the Commitment 
Date Method in the Item Branch table (F4102). The system uses the User Lot Date 2 Default Days from the Item Branch table (F4102) to 
calculate User Lot Date 2 when inventory first goes on hand.

jdUserLotDate3U3DJJDEDATEOPTNONE

A user-defined date that can be used for commitment purposes and is stored in the Lot Master table (F4108). Similar to Lot Expiration Date, 
User Lot Date 3 is a through date for commitment processing. The User Lot Date commitment option is available in the Commitment Date 
Method in the Item Branch table (F4102). The system uses the User Lot Date 3 Default Days from the Item Branch table (F4102) to calculate User 
Lot Date 3 when inventory first goes on hand.   

jdUserLotDate4U4DJJDEDATEOPTNONE

A user-defined date that can be used for commitment purposes and is stored in the Lot Master table (F4108). Similar to Lot Expiration Date, 
User Lot Date 4 is a through date for commitment processing.   The User Lot Date commitment option is available in the Commitment Date 
Method in the Item Branch table (F4102). The system uses the User Lot Date 4 Default Days from the Item Branch table (F4102) to calculate 
User Lot Date 4 when inventory first goes on hand.

jdUserLotDate5U5DJJDEDATEOPTNONE

A user-defined date that can be used for commitment purposes and is stored in the Lot Master table (F4108). Similar to Lot Expiration Date, 
User Lot Date 5 is a through date for commitment processing.   The User Lot Date 5 commitment option is available in the Commitment Date 
Method in the Item Branch table (F4102). The system uses the User Lot Date 5 Default Days from the Item Branch table (F4102) to calculate 
User Lot Date 5 when inventory first goes on hand.

cBasePriceIndicatorBPINDcharOPTNONE

A user defined code that indicates which base price to use for related items. For example this code can specify using the price for the 
original item, the substitute item, or the best price, depending on the item's value. If this field is blank, the system uses the code specified in the 
Pricing for Substitute Items option on the Cross Ref tab in the Sales Order Entry processing options (P4210). 

cAdjustmentIndicatorADINDcharOPTNONE

A user defined code (42/IA) that indicates which price adjustment to use for related items. These adjustments can include the original item's 
adjustment, a substitute item's adjustment, the best adjustment, or no adjustment, depending on the item's value. If this field is blank, the 
system uses the value specified in the Pricing for Substitute Items processing option on the Cross Ref tab in the Sales Order Entry (P4210) 
processing options.

mnAdjustmentRevisionLevelAREVMATH_NUMERICOPTNONE

This field maintains the current revision level of Advanced Pricing adjustments awarded within a sales order. Adjustments associated with 
a revision level below the current level are considered obsolete.

cPriceOverrideCodePROVcharOPTNONE

A value established by the sales order entry program whenever a unit or extended price is entered into an order line item, overriding the 
price calculated by the program.

Related Functions

None

Related Tables

None