Description
Use exact integers to return initial + received - used - rejected as remainingDecimal and received - used - rejected as deltaDecimal.
Packaging counts distinguish first-pass acceptance, rework, scrap, verified support, and remaining inventory. A reconciled total does not independently establish product or labeling quality.
Use exact integers to return initial + received - used - rejected as remainingDecimal and received - used - rejected as deltaDecimal.
When to use this tool
Use Packaging Component Count Delta when you need a supplied packaging count or support term.
How to use the tool and how it works
- Enter initial, received, used, rejected. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read remainingDecimal, deltaDecimal. Use the output convention below.
Use exact integers to return initial + received - used - rejected as remainingDecimal and received - used - rejected as deltaDecimal.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| initial | Initial | Required. Safe integer; minimum 0. |
| received | Received | Required. Safe integer; minimum 0. |
| used | Used | Required. Safe integer; minimum 0. |
| rejected | Rejected | Required. Safe integer; minimum 0. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| remainingDecimal | Remaining Decimal | Required. Text; maximum UTF-16 length 8192. |
| deltaDecimal | Delta Decimal | Required. Text; maximum UTF-16 length 8192. |
{
"input": {
"initial": 100,
"received": 20,
"used": 80,
"rejected": 5
},
"output": {
"remainingDecimal": "35",
"deltaDecimal": "-65"
}
} Limitations and assumptions
- Negative remaining stock is retained as a discrepancy; counts do not verify physical reconciliation or authorized material use.
- 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
Reconcile physical and documentary records under the validated packaging and quality procedure.
References
Similar or alternative tools
- Batch Material Reconciliation Share
Add returnedMass, usedMass, and scrapMass for accountedMass and subtract from issuedMass for residualMass.
- Manufacturing Lot Source Gap
Count exact pairs, source IDs beginning with the prefix, and mismatched pairs independently.