CacheProcessAdditionalQuantities

Cache Business function for Stock Valuation

Major Business Rule

Object Name: B390001

Parent DLL: CINV

Location: Client/Server

Language: C

Data Structure

D390001D - Cache for Period Additional Quantities - F39063


^

Parameter NameData ItemData TypeReq/OptI/O/Both
szCacheActionCodeCACTNcharREQNONE

A code that indicates the activity you want to perform. Valid codes:     o Get - Retrieve the cache element     o Add - Add a cache element     o 
Update - Update a cache element     o Delete - Delete a cache element     o Delete All - Delete all cache elements     o Get Next - Retrieve the 
next cache element     o Add/Update - Add a cache element if it does not exist; Update a cache element if it does exist     o Terminate - 
Terminate Cache

mnNumberKeysNKEYSMATH_NUMERICOPTNONE

The number of keys in an index that will be used to retrieve, delete, or update a record.

cSuppressErrorMessageEV01charOPTINPUT

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

szErrorCodeDTAIcharOPTOUTPUT

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.

idCacheCursorGENLNGIDOPTNONE

General purpose ID variable.

mnStockValJobNumberJOBSMATH_NUMERICOPTNONE

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

szCurrencyCodeFromCRCDcharOPTNONE

A code that identifies the currency of a transaction. 

szItemPoolITPLcharOPTNONE

A user defined code (41/05) that indicates a group of items that are evaluated using the same set of valuation methods. You assign the item 
pool to the item and then set up valuation methods for the pool using the Pool Valuation Method Maintenance program.

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

szCompanyCOcharOPTNONE

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.

szCostCenterMCUcharOPTNONE

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.

cQuantityRecordTypeQRCTcharOPTNONE

A value that indicates the additional quantity record type of the item that is included in the Additional Quantity Work File table (F39121W). 
Type 1 is an in-transit record and type 3 is an accommodations record.

szUnitOfMeasureAsInputUOMcharOPTNONE

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

mnPeriodAdjustmentQuantityADQTMATH_NUMERICOPTNONE

The value by which the closing value of inventory has been adjusted within a period.

mnAmountPeriodAjdustmentADAMMATH_NUMERICOPTNONE

Related Functions

None

Related Tables

F3904 Item Pool Valuation Master
F39041 Valuation Category Master
F3905 Valuation Method Master
F39061 Valuation Period Table
F39062 Valuation Layers Table
F39063 Period Additional Quantity Table
CacheProcessCompanySelection

CacheProcessCompanySelection

Cache Business function for Stock Valuation

Major Business Rule

Object Name: B390001

Parent DLL: CINV

Location: Client/Server

Language: C

Data Structure

D390001E - Data Structure to store Company for Data Selection

Parameter NameData ItemData TypeReq/OptI/O/Both
szCacheActionCodeCACTNcharOPTNONE

A code that indicates the activity you want to perform. Valid codes:     o Get - Retrieve the cache element     o Add - Add a cache element     o 
Update - Update a cache element     o Delete - Delete a cache element     o Delete All - Delete all cache elements     o Get Next - Retrieve the 
next cache element     o Add/Update - Add a cache element if it does not exist; Update a cache element if it does exist     o Terminate - 
Terminate Cache

mnNumberKeysNKEYSMATH_NUMERICOPTNONE

The number of keys in an index that will be used to retrieve, delete, or update a record.

cSuppressErrorMessageEV01charOPTNONE

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

szErrorCodeDTAIcharOPTNONE

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.

idCacheCursorGENLNGIDOPTNONE

General purpose ID variable.

mnStockValJobNumberJOBSMATH_NUMERICOPTNONE

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

szCompanyCOcharOPTNONE

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.

Related Functions

None

Related Tables

F3904 Item Pool Valuation Master
F39041 Valuation Category Master
F3905 Valuation Method Master
F39061 Valuation Period Table
F39062 Valuation Layers Table
F39063 Period Additional Quantity Table
CacheProcessErrorMessages

CacheProcessErrorMessages

Cache Business function for Stock Valuation

Major Business Rule

Object Name: B390001

Parent DLL: CINV

Location: Client/Server

Language: C

Data Structure

D390001F - Data Structure to store error messages

Parameter NameData ItemData TypeReq/OptI/O/Both
szCacheActionCodeCACTNcharREQINPUT

A code that indicates the activity you want to perform. Valid codes:     o Get - Retrieve the cache element     o Add - Add a cache element     o 
Update - Update a cache element     o Delete - Delete a cache element     o Delete All - Delete all cache elements     o Get Next - Retrieve the 
next cache element     o Add/Update - Add a cache element if it does not exist; Update a cache element if it does exist     o Terminate - 
Terminate Cache

mnNumberKeysNKEYSMATH_NUMERICOPTINPUT

The number of keys in an index that will be used to retrieve, delete, or update a record.

cSuppressErrorMessageEV01charOPTINPUT

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

szErrorCodeDTAIcharOPTOUTPUT

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.

idCacheCursorGENLNGIDOPTBOTH

General purpose ID variable.

mnStockValJobNumberJOBSMATH_NUMERICOPTBOTH

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

szCompanyCOcharOPTNONE

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.

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

szItemPoolITPLcharOPTNONE

A user defined code (41/05) that indicates a group of items that are evaluated using the same set of valuation methods. You assign the item 
pool to the item and then set up valuation methods for the pool using the Pool Valuation Method Maintenance program.

szAccountNumberANIcharOPTNONE

A value that identifies an account in the general ledger. Use one of the following formats to enter account numbers:   o  Standard account 
number (business unit.object.subsidiary or flex format).   o  Third G/L number (maximum of 25 digits).   o  Account ID number. The number is eight 
digits long.       o  Speed code, which is a two-character code that you concatenate to the AAI item SP. You can then enter the code instead of 
an account number. The first character of the account number indicates its format. You define the account format in the General Accounting 
constants. 

jdGLDateDGLJDEDATEOPTNONE

A date that identifies the financial period to which the transaction is to be posted.  The company constants specify the date range for each 
financial period. You can have as many as 14 periods. Generally, period 14 is used for audit adjustments. The system validates this field for 
PBCO (posted before cutoff), PYEB (prior year ending balance), PACO (post after cutoff), and WACO (post way after cutoff) messages.

szStoredErrorCodeDTAIcharOPTNONE

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.

nSequenceNumberINT01integerOPTNONE

Number of Days in Future to Query for Responses Due. 

mnAaiTableNumberANUMMATH_NUMERICOPTNONE

A number used to specify sequence and retrieve accounting information.

Related Functions

None

Related Tables

F3904 Item Pool Valuation Master
F39041 Valuation Category Master
F3905 Valuation Method Master
F39061 Valuation Period Table
F39062 Valuation Layers Table
F39063 Period Additional Quantity Table
CacheProcessSetupInformation

CacheProcessSetupInformation

Cache Business function for Stock Valuation

Major Business Rule

Object Name: B390001

Parent DLL: CINV

Location: Client/Server

Language: C

Data Structure

D390001A - Cache for F3904,F39041 and F3905

Parameter NameData ItemData TypeReq/OptI/O/Both
szCacheActionCodeCACTNcharOPTNONE

A code that indicates the activity you want to perform. Valid codes:     o Get - Retrieve the cache element     o Add - Add a cache element     o 
Update - Update a cache element     o Delete - Delete a cache element     o Delete All - Delete all cache elements     o Get Next - Retrieve the 
next cache element     o Add/Update - Add a cache element if it does not exist; Update a cache element if it does exist     o Terminate - 
Terminate Cache

mnNumberKeysNKEYSMATH_NUMERICOPTNONE

The number of keys in an index that will be used to retrieve, delete, or update a record.

cSuppressErrorMessageEV01charOPTNONE

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

szErrorCodeDTAIcharOPTNONE

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.

idCacheCursorGENLNGIDOPTNONE

General purpose ID variable.

mnStockValJobNumberJOBSMATH_NUMERICOPTNONE

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

szItemPoolITPLcharOPTNONE

A user defined code (41/05) that indicates a group of items that are evaluated using the same set of valuation methods. You assign the item 
pool to the item and then set up valuation methods for the pool using the Pool Valuation Method Maintenance program.

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

szCompanyCOcharOPTNONE

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.

szValuationMethodSVVMcharOPTNONE

A two-character abbreviation for the methods that the system uses to determine the value of your company's stock for reporting and 
financial purposes. Examples include:     o FI (FIFO)     o F2 (FIFO Detail by Branch)     o LI (LIFO) When you run the Stock Valuation Extraction 
program, the system updates the Stock Valuation Detail tables for the assigned valuation methods.

cDualCurrencyFlagSVDCcharOPTNONE

The Dual Currency Flag determines if a dual currency record is written during the Stock Valuation Extract and G/L Update processes. The 
flag is set at the valuation method level within the item/pool. Valid values are:        Y or 1   to create dual currency records for the valuation 
method         N or 0   to not create dual currency records

szUnitOfMeasureAsInputUOMcharOPTNONE

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

szGlCategoryGLPTcharOPTNONE

A user defined code (41/9) that identifies the G/L offset that system uses when it searches for the account to which it posts the transaction. If 
you do not want to specify a class code, you can enter **** (four asterisks) in this field. You can use automatic accounting instructions (AAIs) to 
predefine classes of automatic offset accounts for the Inventory Management, Procurement, and Sales Order Management systems. You 
might assign G/L class codes as follows:    IN20   Direct Ship Orders    IN60   Transfer Orders    IN80   Stock Sales  The system can generate 
accounting entries based upon a single transaction. For example, a single sale of a stock item can trigger the generation of accounting entries 
similar to the following:         Sales-Stock (Debit) xxxxx.xx     A/R Stock Sales (Credit) xxxxx.xx     Posting Category: IN80             Stock Inventory 
(Debit) xxxxx.xx     Stock COGS (Credit) xxxxx.xx The system uses the class code and the document type to find the AAI.

cSummaryOrDetailSORDcharOPTNONE

A code that indicates whether the inquiry is displayed in detail or summary mode. If you leave this option blank, the system displays 
individual receipt records. If you check this option, the system displays information that is summarized by item, company, currency code, and cost 
rule.

cWithinBranchorCompanyWBOCcharOPTNONE

Use this processing option to identify how the system allocates the historical layers built by the valuation method. Valid values are:    1   
Within company. The system creates one record per company, item or pool, valuation method, and period.    2   Within branch. The period detail 
contains one record per branch, item or pool, valuation method, and period. At the end of the year, the system rolls all detail layers and 
period summary layers into one layer for LIFO.

cIncludeAccommodationsINACcharOPTNONE

This code indicates whether you want accommodations included in this valuation method. Accommodations are the net value of loan and 
borrow transactions between your company and business partners. Valid values are:    Y or 1   Yes, include accommodations    N or 0   No, do 
not include accommodations The default value is Y.

cIncludeIntransitITRAcharOPTNONE

This field indicates whether the system should include in-transit stock in the valuation. For WorldSoftware, valid values are:    Y Yes, include 
stock that is currently in transit to a customer in the calculation of stock value.    N No, do not include stock that is in transit in the calculation of 
stock value. For OneWorld, a check mark indicates that the system should include in-transit stock in the valuation.

cIncludeNotinStockINNScharOPTNONE

A code that indicate whether you want to include products in route to your inventory when calculating stock value. Valid values are:    Y  Yes, 
include products that are currently in route to your inventory when calculating stock value.    N  Do not include products currently in route to 
your inventory.

cIncludeLIFOAdjustmentLIFAcharOPTNONE

Use this adjustment to remove the effect of any accumulation or depletion at the end of a reporting period. Do not apply the LIFO 
adjustment for the closing period of a fiscal year. Record the adjustment against the income statement and balance sheet accounts. The system uses 
the following formula to determine the LIFO adjustment:        (average cost of the accumulation or depletion - current period's average cost) * 
accumulation or depletion  If this valuation method is a LIFO method type and set up as a company-wide method, you might want the system to 
calculate a LIFO adjustment. Valid values are:    Y or 1  include the LIFO adjustment calculation. This is a company-wide LIFO valuation 
method, and the default.    N or 0  do not include the LIFO adjustment. This LIFO method is either layered within a branch/plant or is not 
company-wide.

szBusFunNamNegBFNNcharOPTNONE

A business function that retrieves a replacement unit cost when the Stock Valuation closing quantity is negative. A custom user defined 
BSFN or the Stock Valuation BSFN can also be used.

szBusFuncNamUnit9BFNUcharOPTNONE

A business function that determines a unit cost for any valuation method within Stock Valuation.  A custom user-defined BSFN or the Stock 
Valuation BSFN can be used.

cValuationTypeVLTYcharOPTNONE

A hard-coded user defined code (system 39/type VA) indicating the type of process that the valuation method should use in stock 
valuation. Identify if the method is a LIFO, FIFO, or Weighted Average Cost valuation type.

Related Functions

None

Related Tables

F3904 Item Pool Valuation Master
F39041 Valuation Category Master
F3905 Valuation Method Master
F39061 Valuation Period Table
F39062 Valuation Layers Table
F39063 Period Additional Quantity Table
CacheProcessValuationLayers

CacheProcessValuationLayers

Cache Business function for Stock Valuation

Major Business Rule

Object Name: B390001

Parent DLL: CINV

Location: Client/Server

Language: C

Data Structure

D390001C - Cache Data Structure for F39062 - Valuation Layers

Parameter NameData ItemData TypeReq/OptI/O/Both
szCacheActionCodeCACTNcharOPTNONE

A code that indicates the activity you want to perform. Valid codes:     o Get - Retrieve the cache element     o Add - Add a cache element     o 
Update - Update a cache element     o Delete - Delete a cache element     o Delete All - Delete all cache elements     o Get Next - Retrieve the 
next cache element     o Add/Update - Add a cache element if it does not exist; Update a cache element if it does exist     o Terminate - 
Terminate Cache

mnNumberKeysNKEYSMATH_NUMERICOPTNONE

The number of keys in an index that will be used to retrieve, delete, or update a record.

cSuppressErrorMessageEV01charOPTNONE

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

szErrorCodeDTAIcharOPTNONE

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.

idCacheCursorGENLNGIDOPTNONE

General purpose ID variable.

mnStockValJobNumberJOBSMATH_NUMERICOPTNONE

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

szCurrencyCodeFromCRCDcharOPTNONE

A code that identifies the currency of a transaction. 

szValuationMethodSVVMcharOPTNONE

A two-character abbreviation for the methods that the system uses to determine the value of your company's stock for reporting and 
financial purposes. Examples include:     o FI (FIFO)     o F2 (FIFO Detail by Branch)     o LI (LIFO) When you run the Stock Valuation Extraction 
program, the system updates the Stock Valuation Detail tables for the assigned valuation methods.

szItemPoolITPLcharOPTNONE

A user defined code (41/05) that indicates a group of items that are evaluated using the same set of valuation methods. You assign the item 
pool to the item and then set up valuation methods for the pool using the Pool Valuation Method Maintenance program.

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

szCompanyCOcharOPTNONE

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.

szCostCenterMCUcharOPTNONE

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.

jdDateReceiptRCPDJDEDATEOPTNONE

The date of the receipt for the current valuation layer transaction.

szUnitOfMeasureAsInputUOMcharOPTNONE

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

mnQuantityOriginalReceiptORQYMATH_NUMERICOPTNONE

The original receipt quantity for the valuation layer as defined by the Stock Valuation Method.

mnCurrentQuantitySVCRQTMATH_NUMERICOPTNONE

The current quantity for the valuation layer as defined by the Stock Valuation Method.

mnAmountCurrentCRAMMATH_NUMERICOPTNONE

The current revenue amount.

Related Functions

None

Related Tables

F3904 Item Pool Valuation Master
F39041 Valuation Category Master
F3905 Valuation Method Master
F39061 Valuation Period Table
F39062 Valuation Layers Table
F39063 Period Additional Quantity Table
CacheProcessValuationPeriod

CacheProcessValuationPeriod

Cache Business function for Stock Valuation

Major Business Rule

Object Name: B390001

Parent DLL: CINV

Location: Client/Server

Language: C

Data Structure

D390001B - F39061 Cache Data Structure

Parameter NameData ItemData TypeReq/OptI/O/Both
szCurrencyCodeFromCRCDcharOPTNONE

A code that identifies the currency of a transaction. 

szItemPoolITPLcharOPTNONE

A user defined code (41/05) that indicates a group of items that are evaluated using the same set of valuation methods. You assign the item 
pool to the item and then set up valuation methods for the pool using the Pool Valuation Method Maintenance program.

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

szCompanyCOcharOPTNONE

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.

szCostCenterMCUcharOPTNONE

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.

mnOpeningQuantityOPQTMATH_NUMERICOPTNONE

The Opening Quantity of inventory as calculated according to the Stock Valuation method.

mnAmountOpeningCostOPAMMATH_NUMERICOPTNONE

The extended cost of the opening inventory as defined by the Stock Valuation Method.

mnPeriodPurchasesQuantityPEPQMATH_NUMERICOPTNONE

The quantity of the incoming transactions for the period as defined by the Stock Valuation Method.

mnAmountPeriodPurchasesPEPAMATH_NUMERICOPTNONE

The cost of the incoming transactions for the period as defined by the Stock Valuation Method.

mnPeriodSalesPESLMATH_NUMERICOPTNONE

The quantity of outgoing transactions for the period as defined by the Stock Valuation Method.

mnAmountPeriodOutgoingPOAMMATH_NUMERICOPTNONE

The perpetual outgoing amount to be considered as outgoing inventory for the period.  It is used to determine the Cost of Goods Sold 
Adjustment between the Valuation method (LIFO, FIFO or Weighted Average) and the Perpetual value.

mnClosingQuantityCLQTMATH_NUMERICOPTNONE

The quantity of the closing inventory as defined by the Stock Valuation Method.

szCacheActionCodeCACTNcharREQINPUT

A code that indicates the activity you want to perform. Valid codes:     o Get - Retrieve the cache element     o Add - Add a cache element     o 
Update - Update a cache element     o Delete - Delete a cache element     o Delete All - Delete all cache elements     o Get Next - Retrieve the 
next cache element     o Add/Update - Add a cache element if it does not exist; Update a cache element if it does exist     o Terminate - 
Terminate Cache

mnNumberKeysNKEYSMATH_NUMERICOPTNONE

The number of keys in an index that will be used to retrieve, delete, or update a record.

cSuppressErrorMessageEV01charOPTINPUT

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

szErrorCodeDTAIcharOPTOUTPUT

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.

idCacheCursorGENLNGIDOPTNONE

General purpose ID variable.

mnStockValJobNumberJOBSMATH_NUMERICOPTNONE

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

szUnitOfMeasureAsInputUOMcharOPTNONE

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

Related Functions

None

Related Tables

F3904 Item Pool Valuation Master
F39041 Valuation Category Master
F3905 Valuation Method Master
F39061 Valuation Period Table
F39062 Valuation Layers Table
F39063 Period Additional Quantity Table