FSM Consumable Model Reference
This reference is intended for administrators and developers who work with Consumable model mappings and processing behavior.
The Consumable model represents customrecord_nx_consumable. It supports NetSuite Consumable validation and consumption processing. The FSM Mobile consumables resource has its own article definition.
Standard default structure (JSON fragment):
{
"models/consumable": {
"prototype": {
"record": "customrecord_nx_consumable",
"map": {
"task": "custrecord_nx_constask",
"case": "custrecord_nx_conscase",
"asset": "custrecord_nx_consasset",
"employee": "custrecord_nx_consemployee",
"item": "custrecord_nx_consitem",
"quantity": "custrecord_nx_consqty",
"billable": "custrecord_nx_consbillable",
"location": "custrecord_nx_conslocation",
"transaction": "custrecord_nx_constransaction",
"serial": "custrecord_nx_conserial",
"bin": "custrecord_nx_conbin",
"binnumber": "custrecord_nx_conbin#|",
"created": "<formuladate:{created}",
"id": "internalid"
},
"defaults": {}
}
}
}
The prototype.map.pricelevel mapping is generated when Multiple Prices is enabled. Its standard formula reads the Consumable price-level field, supplies Custom Price when blank, and leaves Item Groups without a price level. The following table lists the Consumable model's standard mappings and defaults.
|
Property |
Purpose |
Standard Mapping or Default |
|---|---|---|
|
|
Links to the job, Asset, and employee. |
|
|
|
Usage and billing data. |
|
|
|
Resulting transaction and inventory references. |
|
|
|
Price level used for a sales line. |
Conditional on Multiple Prices. Blank level is read as Custom Price, except Item Groups. |
|
|
Supplies default model attributes on creation. |
|
The billing rule can set billable status and price level during validation. A custom price result is represented by a blank Consumable price level. Related Sales Order processing handles the custom rate. A consumable linked to a completed task and a case can be queued for processing when it is not yet linked to a transaction. Preserve Task and transaction links when extending mappings. For billing rules, see Configuring FSM Billing Rules. For transaction-processing controls, see Configuring FSM Consumable Processing.