Prodaksha Developers

Value chains › Fresh Produce

Watermelon pack house

Watermelons are received from growers, weighed, checked for ripeness and defects, and graded into Class I and Class II by weight and appearance; cracked or sunburnt fruit is sold as rejects for juice or feed.

agri.watermelon.pack_house Grade, cure and pack yields confirmed

What the factory receives

Raw material your system can send as a consignment (item.code):

ItemCodeUnitHS code
Watermelons (field run)WATERMELON-FRESHkg0807.11

What the factory makes

Watermelon grading

InCodeShare
Watermelons (field run)WATERMELON-FRESH100 %
OutCodeKindYield
Watermelons Class IWATERMELON-CLASS1Main product55–75 %
Watermelons Class IIWATERMELON-CLASS2Co-product15–30 %
Watermelon rejects (cracked, sunburnt, undersize)WATERMELON-REJECTBy-product5–15 %
WasteWASTEWaste0–3 %

Steps: Receiving and weighing → Cleaning → Ripeness and defect check → Grading by weight class → Loading

Yield is the share of the input weight, as a range seen in practice. The factory records the real weights on every run.

All products and intermediates

ItemCodeUnitHS code
Watermelons Class IWATERMELON-CLASS1kg0807.11
Watermelons Class IIWATERMELON-CLASS2kg0807.11
Watermelon rejects (cracked, sunburnt, undersize)WATERMELON-REJECTkg

Quality checks

Watermelon intake intake

Cut two fruits per grower lot

ParameterAccepted
Flesh soluble solids (confirm the buyer's minimum)≥ 9 °Bx
Hollow heart and white heartpass / fail
Cracks, sunburn and rots≤ 10 %critical: a failure holds the lot

Graded watermelon release release

Ten fruits per load

ParameterAccepted
Fruit weight≥ 2 kg
Weight classtext
Out-of-grade fruit≤ 10 %critical: a failure holds the lot

Results travel in run.completed (quality) and a hold in lot.hold_changed.

Example messages

1. You send a consignment

POST /api/v1/consignments. Here as toll work (the sender keeps ownership and pays for processing); leave out mode to sell the goods to the factory.

{
    "reference_no": "VAB-26-7",
    "source": "society_api",
    "kind": "value_addition",
    "mode": "toll",
    "sender": {
        "external_system": "your-system",
        "society_id": 39,
        "name": "Example Farmers Co-operative"
    },
    "item": {
        "code": "WATERMELON-FRESH"
    },
    "declared_qty": 1000,
    "unit": "kg",
    "dispatched_at": "2026-11-15T08:10:00+03:00",
    "lots": [
        {
            "lot_no": "LOT-001",
            "qty": 1000
        }
    ]
}

2. You receive the results

Webhook run.completed, for 1,000 kg in (the middle of each yield range). Main products and co-products carry their grade when the item is one of a graded family; quality carries the checks recorded on the run.

{
    "type": "run.completed",
    "data": {
        "reference_no": "VAB-26-7",
        "work_order_ref": "WO-26-0042",
        "item": "WATERMELON-CLASS1",
        "completed_at": "2026-11-16T17:30:00+03:00",
        "outturn_no": "LOT-…",
        "yield_pct": 65,
        "outputs": [
            {
                "item": "WATERMELON-CLASS1",
                "grade": "CLASS1",
                "role": "main",
                "qty": 650,
                "unit": "kg",
                "lot_no": "LOT-…",
                "yield_flag": null,
                "bags": null,
                "bag_unit": null,
                "packets": null
            },
            {
                "item": "WATERMELON-CLASS2",
                "grade": "CLASS2",
                "role": "co_product",
                "qty": 225,
                "unit": "kg",
                "lot_no": "LOT-…",
                "yield_flag": null,
                "bags": null,
                "bag_unit": null,
                "packets": null
            },
            {
                "item": "WATERMELON-REJECT",
                "grade": null,
                "role": "by_product",
                "qty": 100,
                "unit": "kg",
                "lot_no": "LOT-…",
                "yield_flag": null,
                "bags": null,
                "bag_unit": null,
                "packets": null
            },
            {
                "item": "WASTE",
                "grade": null,
                "role": "waste",
                "qty": 15,
                "unit": "kg",
                "lot_no": "LOT-…",
                "yield_flag": null,
                "bags": null,
                "bag_unit": null,
                "packets": null
            }
        ],
        "quality": []
    }
}

Before and after the run you also receive consignment.received (weighed in), and then statement.issued, sale.proceeds or invoice.issued and payment.recorded. See Connecting a supplier or society system.