Description
Label a food lot's stated purchase or donation source.
Food-assistance records track sources, quantities, vouchers, transfers and purchasing units. Nominal person-rations and whole-pack costs depend on supplied assumptions; they do not determine nutritional adequacy or legal entitlements. Returned quantities also do not establish that food can safely be redistributed.
Label a food lot's stated purchase or donation source.
When to use this tool
Use Food Source Purchase Donation Tag when checking the stated supplied assistance inventory, quantity or cost convention.
How to use the tool and how it works
- Enter lotId, sourceType. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read label. Use the output convention below.
Require nonempty lotId and sourceType purchase, donation, transfer, other or unspecified. Format lotId [sourceType].1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| lotId | Lot Id | Required. Text; minimum UTF-16 length 1; maximum UTF-16 length 8192. |
| sourceType | Source Type | Required. Text; one of "purchase", "donation", "transfer", "other", "unspecified"; maximum UTF-16 length 8192. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| label | Formatted supplied record wording; no independent validation of its substantive meaning. | Required. Text; maximum UTF-16 length 8192. |
{
"input": {
"lotId": "LOT17",
"sourceType": "donation"
},
"output": {
"label": "LOT17 [donation]"
}
} Limitations and assumptions
- The source is recorded, not authenticated; it does not establish donation eligibility, provenance or food safety.
- 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.
Alternative or Complementary methods
Use verified inventory and program records with qualified nutrition, food-safety and humanitarian professionals for actual dietary, distribution or benefit decisions.
References
Similar or alternative tools
- Food Bank Returned Lot Quantity
Calculate net issued food-lot quantity after subtracting returned quantity.
- Food Lot Parent Child Label
Record a parent-child relationship between food lots.