xMatix
Sign in Request demo
xMatix
PRODUCTS
SalesField SalesCRMRewardsClaimsInventoryProcurementWarehouse 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
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 Opening Lot State — entity reference
REFERENCE · Last reviewed

Inventory Opening Lot State — entity reference

The open cost lots at the start of a fiscal period, one row per lot, keyed by partner account + accounting book + fiscal period + item + branch + valuation method. It exists so inventory valuation can be replayed for a single period from an opening snapshot plus that period's movements instead of from inception, with each period's closing lots rolled forward as the next period's opening rows. It is a derived artefact, not a data-entry entity, and is blocked from integration sync for that reason.

Fields

FieldLabelTypeRequiredWhat it does
AccountingBookIdAccounting BookLookup → AccountingBookThe book this snapshot belongs to. Secondary books do not keep their own perpetual per-method balances, which is exactly why they need these snapshots to bound a replay to one period.
BranchIdBranchLookup → Branch
CreatedByIdCreated ByLookup → UserAccountYes
CreatedDateTimeCreated OnDateAndTimeYes
FiscalPeriodIdFiscal PeriodLookup → FiscalPeriodThe period this snapshot opens, not the period it was computed from - a period's closing lots are written forward against the following period.
IdIdGuidYes
ItemIdItemLookup → Item
LotKeyLot KeyTextThe lot identity used only under specific identification valuation; it is left empty for methods such as FIFO or weighted average, where lots are consumed by sequence rather than by name.
MethodMethodTextThe valuation method this snapshot was produced under, part of the row's identity: the same item and period can hold separate opening lots per method, which is what lets a secondary accounting book be replayed differently from the primary one.
ModifiedByIdModified ByLookup → UserAccountYes
NameNameTextYes
OwnerIdOwnerLookup → UserAccountYes
PartnerAccountIdPartner AccountLookup → Account
ReceiptDateReceipt DateDateThe original receipt date of the lot, preserved across the roll-forward so date-ordered valuation methods keep their ageing after a period boundary.
RecordTypeIdRecord TypeGuid, hidden
RemainingQuantityRemaining QuantityCurrencyThe quantity still unconsumed in this lot at the period boundary. Replay seeds the period with these as leading receipts, so this is the opening balance the period's issues draw against.
SequenceSequenceLargeNumberThe consumption order of this lot within the snapshot, assigned when a period's closing lots are rolled forward. Replay reconstructs the opening lots by this order first and receipt date second, so it determines which lot is drawn down first.
SourceCostLotIdSource Cost LotLookup → InventoryCostLotA soft reference back to the perpetual cost lot this snapshot row came from, held without a foreign key so pruning cost lots cannot break a period's opening state.
StorageLocationIdStorage LocationLookup → StorageLocation
UIPropsUI PropsText
UnitCostUnit CostCurrencyThe cost per unit carried by this open lot into the new period, and therefore the rate at which its remaining quantity is charged out when consumed.
UpdatedDateTimeUpdated OnDateAndTimeYes

Actions

ActionLabelTypeWhat it does
CloneCloneServerAction (Clone)Create a copy of this record