FSM Time Bill Model Reference
This reference is intended for administrators and developers who work with Time Bill model mappings and validation behavior.
The Time Bill model represents timebill. Its explicit prototype.defaults is empty. It supports NetSuite Time Bill validation, billing, and Case unbilled updates.
Standard default structure (JSON fragment):
{
"models/time": {
"prototype": {
"record": "timebill",
"map": {
"employee": "employee",
"date": "date|trandate",
"duration": "durationdecimal|hours",
"rate": "rate",
"billable": "isbillable",
"item": "item.internalid|item",
"price": "item.baseprice|",
"memo": "memo",
"cost": "custcol_nx_time_cost",
"costed": "custcol_nx_time_costed",
"billed": "custcol_nx_time_billed",
"status": "status",
"task": "task.internalid|casetaskevent",
"project": "customer",
"taskcol": "custcol_nx_task",
"asset": "custcol_nx_asset",
"id": "internalid"
},
"defaults": {}
}
}
}
The prototype.map.pricelevel mapping is "formulatext:''|price" when Override Time Rates is enabled. Location, department, and class mappings are added when their respective features are enabled. These conditional entries are omitted from the fragment.
The following table lists the Time Bill model's mapped attributes, their purposes, and the standard NetSuite fields or mapping expressions used for each attribute.
|
Property |
Purpose |
Standard Mapping or Default |
|---|---|---|
|
|
Employee who performed the work. |
|
|
|
Reads the date and writes the transaction date. |
|
|
|
Reads decimal duration and writes hours. The model also converts an hours-and-minutes value to decimal hours. |
|
|
|
Native event relationship. |
|
|
|
FSM Task and Asset references used by billing and costing. |
|
|
|
Customer or Project entity. |
|
|
|
Billing data. |
|
|
|
Costing and processing data. |
|
Price level mapping is present when Override Time Rates is enabled. Department, class, and location mappings depend on the corresponding NetSuite features. Billing rules can recalculate billable status and, with Multiple Prices and Override Time Rates, rate and price level. Changing a displayed field or a default doesn't prevent that recalculation.
Keep the native event link and FSM Task column distinct. Validation synchronizes the Task column for supported CRM Task relationships. Case invoicing and labor recovery use that column. For billing controls, see Configuring FSM Billing Rules. For labor-cost posting controls, see Configuring FSM Project Labor Cost Posting. The FSM Mobile times resource supplies its own article map and element defaults.