xMatix
Sign in Request demo
xMatix
PRODUCTS
SalesField Sales & SFACRMRewardsClaimsInventoryProcurementWarehouse ManagementField ServiceServiceSupportTelephony & MessagingFinance & AccountingPayrollExpense ManagementCommercePortalsAnalytics & ReportingData StudioMobile AppSee all products →
PLATFORM
Platform overviewApp BuilderAutomationIntegrationsSecurity & GovernanceChange ManagementDevelopers
SENSE AI
Sense AI overviewSense AssistSense ControlSense VisionAI StudioTrust & governanceIn Claude & ChatGPTUse cases
SOLUTIONS
Auto DMSConsumer Goods DMSSales Force Automation (SFA) FMCG & DistributionManufacturing & Dealer NetworksAutomotive & DealershipsPharma & HealthcareConsumer DurablesAgri-InputsBuilding MaterialsService NetworksWarehousing & 3PLFinancial AccountingERP SoftwareIndia GST ComplianceUAE VAT & e-InvoicingSaudi ZATCA & VATAll solutions →
RESOURCES
Knowledge CenterDeveloper & CLIBlogGuidesWhat is xMatix?Company facts
COMPANY
AboutCareersPartnersEventsContactAuthorsLegal
Sign in Request demo
Home/Docs/Entity Reference/Inventory Cost Lot — entity reference
REFERENCE · Last reviewed

Inventory Cost Lot — entity reference

A cost layer kept by the inventory costing engine for one company's primary accounting book, one item and one branch: how much stock arrived at what unit cost, and how much of it is still on hand. FIFO and LIFO keep one layer per receipt. Moving Average and Weighted Average keep a single pool layer that holds the whole on-hand balance at the average cost. Each inventory posting deletes the layers of the item and branch it touches and rebuilds them by replaying that item and branch's whole inventory ledger. You read layers in the Valuation lots drill of the Inventory Valuation statement and on the Inventory Valuation Lot page. The newest open layer's cost is also one of the cost sources for Cost Plus pricing on quote and service order lines. Do not create or edit layers by hand.

Fields

FieldLabelTypeRequiredWhat it does
AccountingBookIdAccounting BookLookup → AccountingBookThe accounting book the layer was costed for. Only the company's active primary book gets layers. A secondary book never has any, so the Valuation lots drill shows no lots when a secondary book is picked.
BranchIdBranchLookup → BranchThe branch whose stock the layer belongs to. Layers are kept per item and branch, so every storage location in the branch shares them.
CreatedByIdCreated ByLookup → UserAccountYes
CreatedDateTimeCreated DateDateAndTimeYes
EffectiveUnitCostEffective Unit CostCurrencyThe unit cost the valuation uses, behind the Effective Cost and Remaining Value columns of the Valuation lots drill. The engine always writes the same value as Unit Cost, because landed cost is never added to a layer.
IdIdGuidYes
ItemIdItemLookup → ItemThe item the layer values.
ItemLotIdItem LotLookup → ItemLotNever filled by the engine. Under specific identification the lot is carried in Lot Key. Under the other methods layers are not tied to a lot.
LandedCostPerUnitLanded Cost Per UnitCurrencyNever filled. No screen, action or job posts a landed cost voucher into the cost layers, so freight and duty are never added to a layer and the Landed / Unit column of the Valuation lots drill stays empty.
LotKeyLot KeyTextThe item lot the layer belongs to under specific identification, which the seeded method list does not offer. Empty under FIFO, LIFO and the average methods, so the Lot column of the Valuation lots drill is normally blank.
MethodMethodTextThe costing method the layer was built under, stored as the engine token: FIFO, LIFO, MovingAverage or WeightedAverage. When the method that applies to an item and branch changes, the engine builds a new set of layers under the new method and leaves the old method's layers as they were, so both sets show in the drill.
ModifiedByIdModified ByLookup → UserAccountYes
NameNameTextYesA generated name of the form ICL-, the receipt date as ddMMyyyy, a hyphen and a six-digit running number within the item and branch. It is regenerated each time the item and branch are rebuilt, so never use it as a reference.
OriginalQuantityOriginal QuantityCurrencyThe quantity the layer started with, before any issue. For the pool layer of the average methods it is the total quantity received over the item and branch's whole history.
OwnerIdOwnerLookup → UserAccountYes
PartnerAccountIdPartner AccountLookup → AccountThe company the layer belongs to.
ReceiptDateReceipt DateDateThe document date of the inventory movement that created the layer. FIFO issues the oldest date first and LIFO the newest. For the pool layer of the average methods it is the date of the first receipt.
RecordTypeIdRecord TypeGuid, hidden
RemainingQuantityRemaining QuantityCurrencyThe part of the layer not yet issued. Remaining Quantity times Effective Unit Cost is the layer's remaining value. For the pool layer of the average methods it is the item and branch's whole on-hand balance as the costing engine sees it.
SequenceSequenceLargeNumberNever filled on cost layers. Layers are ordered by Receipt Date.
SourceLedgerIdSource LedgerLookup → InventoryLedgerThe inventory ledger entry that created the layer, under FIFO and LIFO. Empty on the pool layer of the average methods, which has no single receipt behind it.
StorageLocationIdStorage LocationLookup → StorageLocationNever filled. Layers are kept per branch, not per storage location, whatever a valuation policy's Costing Level says.
UIPropsUI PropsText
UnitCostUnit CostCurrencyThe unit cost recorded on the inventory ledger entry that created the layer. For the pool layer of the average methods it is the closing average cost.
UpdatedDateTimeModified DateDateAndTimeYes

Actions

ActionLabelTypeWhat it does
CloneCloneServerAction (Clone)Create a copy of this record
DeleteEntityDeleteDeleteDelete
DeleteHeaderDeleteDeleteDeleteHeader
DeleteRowDeleteDeleteDeleteRow
EditEntityEditEditEdit
EditInEditEditInlineEdit
EditInlineEditEditInlineEdit
EditRowEditEditEdit
NewHeaderNewNewNew