One draw of an issue against a cost lot, recorded per accounting book and per method because FIFO and LIFO consume different layers for the same physical issue. The sum of CostAmount across the rows sharing a SourceLedgerId is that issue's cost of goods sold, and it is exactly the amount the cost-posting service puts on the resulting COGS or inventory-loss journal. A single issue produces several rows when it spans multiple layers. Like the lots, these rows are rewritten wholesale each time the scope is replayed rather than appended to, so they are a derived audit trail rather than an event log.
Fields
| Field | Label | Type | Required | What it does |
AccountingBookId | Accounting Book | Lookup → AccountingBook | | |
BranchId | Branch | Lookup → Branch | | |
CostAmount | Cost Amount | Currency | | Quantity times unit cost, rounded to two decimals per draw so that summing the draws ties exactly to the amount posted on the cost journal - the engine deliberately sums rounded draws rather than rounding a total. |
CostLotId | Cost Lot | Lookup → InventoryCostLot | | The cost layer this draw was taken from. Under MovingAverage and WeightedAverage every draw points at the single synthetic pool row rather than at a receipt, so it cannot be used to trace an issue back to a purchase. |
CreatedById | Created By | Lookup → UserAccount | Yes | |
CreatedDateTime | Created On | DateAndTime | Yes | |
Id | Id | Guid | Yes | |
IssueDate | Issue Date | Date | | The document date of the issue movement. It is what slices consumption into fiscal periods when the inventory period balance cache derives a period's outward value. |
ItemId | Item | Lookup → Item | | |
Method | Method | Text | | The cost-flow method that produced this draw. The same physical issue yields different consumption rows under FIFO than under LIFO, which is why the method forms part of the key rather than being derived at read time. |
ModifiedById | Modified By | Lookup → UserAccount | Yes | |
Name | Name | Text | Yes | A generated identifier of the form ICC followed by the row's id and a line index. It carries no business meaning and is regenerated whenever the scope is replayed. |
OwnerId | Owner | Lookup → UserAccount | Yes | |
PartnerAccountId | Partner Account | Lookup → Account | | The owning company or legal entity, following the finance convention where partner account means the company rather than a trading counterparty. |
Quantity | Quantity | Currency | | The quantity drawn from this one layer, not the total quantity of the issue. Sum the rows sharing a SourceLedgerId to get the issued quantity. |
RecordTypeId | Record Type | Guid, hidden | | |
SourceLedgerId | Source Ledger | Lookup → InventoryLedger | | The InventoryLedger issue row this draw belongs to, and the key used to total an issue's cost of goods sold; several rows share it when the issue spans multiple layers. It also acts as the idempotency anchor so re-posting an issue cannot double-consume. |
UIProps | UI Props | Text | | |
UnitCost | Unit Cost | Currency | | The cost per unit of the layer being drawn from, or the prevailing running or period average under the average methods. |
UpdatedDateTime | Updated On | DateAndTime | Yes | |
Actions
| Action | Label | Type | What it does |
Clone | Clone | ServerAction (Clone) | Create a copy of this record |
DeleteEntity | Delete | Delete | DeleteEntity |
DeleteHeader | Delete | Delete | Delete |
DeleteRow | Delete | Delete | DeleteRow |
EditEntity | Edit | Edit | EditEntity |
EditEntityInLine | Edit | EditInline | EditEntityInLine |
EditHeader | Edit | EditInline | EditHeader |
EditRow | Edit | Edit | EditRow |
New | New | New | New |