Log materials used on a job card
job_card_log_materialLog materials used on a job card: the item, the day it went in, the quantity and the unit cost in whole cents. The line value is quantity times unit cost, rounded half-up to the cent, fixed the moment it is logged.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| qty | Yes | How many, to the thousandth, e.g. 2 or 0.5 | |
| card | Yes | The job card id, e.g. JC-2026-0003, or the client name when only one card has it | |
| date | Yes | The day it went in, YYYY-MM-DD. A future date is refused | |
| item | Yes | What went into the job, e.g. Copper pipe 15mm, or Consumer unit 10-way | |
| note | No | ||
| unit_cost_cents | Yes | What one costs in whole cents. 1299 is 12.99 |