Description
Calculate supplied crates outstanding after returns and write-offs.
Agribusiness accounts distinguish packages, deposits, commissions, fixed fees, moisture-normalized mass and signed credits. Minimum charges can apply at zero use, while a return-credit fee can exceed gross credit. Supplied contract terms and unit definitions do not verify transactions or legal entitlement.
Calculate supplied crates outstanding after returns and write-offs.
When to use this tool
Use Produce Crate Return Balance when you already have cratesIssued, cratesReturned, cratesWrittenOff and need to calculate supplied crates outstanding after returns and write-offs.
How to use the tool and how it works
- Enter cratesIssued, cratesReturned, cratesWrittenOff. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read outstandingCrates. Use the output convention below.
Require nonnegative safe issued count, returned in [0,issued] and written off in [0,issued-returned]; return issued-returned-writtenOff.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| cratesIssued | Crates Issued | Required. Safe integer; minimum 0. |
| cratesReturned | Crates Returned | Required. Safe integer; minimum 0. |
| cratesWrittenOff | Crates Written Off | Required. Safe integer; minimum 0. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| outstandingCrates | Outstanding Crates | Required. Safe integer. |
{
"input": {
"cratesIssued": 80,
"cratesReturned": 60,
"cratesWrittenOff": 5
},
"output": {
"outstandingCrates": 15
}
} Limitations and assumptions
- Written-off crates are removed from outstanding count without verifying loss, ownership, authorized write-off or actual inventory.
- Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
- Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.
Alternative or Complementary methods
Check original orders, invoices, weighing records and agreements. Use complete contractual, accounting and appropriate financial assessment when local package counts, settlement balances or price adjustments cannot establish an actual obligation.
References
Similar or alternative tools
- Produce Order Returnable Package Deposit
Calculate supplied charged, returned and outstanding package deposits.
- Seed Lot Package Unit Count
Count supplied full-package and loose seed units.