FIFOAllocations

FIFO Allocations

Minor Business Rule

Object Name: N3900050

Parent DLL: CINV

Location: Client/Server

Language: NER

Data Structure

D3900050A - Data Structure for all allocation calculations

Parameter NameData ItemData TypeReq/OptI/O/Both
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.

mnFiscalYear999999999SVYRMATH_NUMERICOPTNONE

The fiscal year for the period being processed.

mnPeriodNumberCurrentPNCMATH_NUMERICOPTNONE

A number (from 1 to 14) that identifies the current accounting period . The system uses this number to generate error messages, such as 
PBCO (posted before cut off) and PACO (posted after cut off).

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.

mnShortItemITMMATH_NUMERICOPTNONE

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

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.

szBranchPlantMCUcharOPTNONE

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.

mnOpeningAmountOPAMMATH_NUMERICOPTNONE

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

mnIncomingQuantityPEPQMATH_NUMERICOPTNONE

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

mnIncomingAmountPEPAMATH_NUMERICOPTNONE

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

mnOutgoingQuantityPESLMATH_NUMERICOPTNONE

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

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

mnAmountClosingCLAMMATH_NUMERICOPTNONE

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

mnAmountCostOfGoodsSoldCGAMMATH_NUMERICOPTNONE

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

mnAmountCOGSAdjustmentCGADMATH_NUMERICOPTNONE

The cost of goods sold adjustment amount as defined by the Stock Valuation Method.

mnAmountInventoryAdjustmenIVADMATH_NUMERICOPTNONE

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.

mnUnitCostAMC3MATH_NUMERICOPTNONE

In the event the organization recognizes a unit cost that should be used other than current unit cost, this special purpose unit cost may be 
used.

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.

mnLIFOAdjustmentLIAJMATH_NUMERICOPTNONE

The calculated LIFO adjustment quantity for the current record.

mnLIFOAdjustmentCostLICSMATH_NUMERICOPTNONE

The calculated LIFO adjustment cost for the current record.

Related Functions

None

Related Tables

None