FAILURE MAP
← Case archive

FA-60338 / Inventory cost layering / Member archive

Period-end ownership cutoff adjustments: bill-and-hold exclusion · case 03

Goods sold on bill-and-hold terms remain in inventory because they sit in the warehouse.

Member previewVariant 3 · 3 implementations · 8 checks per implementation

Case contract

Input {count_value, period_end, items:[{type, terms, value, shipped_day, arrived_day|None}]}. Goods "arrived" when arrived_day is set and <= period_end. Inbound in transit is added when FOB_shipping, shipped by period end and not arrived. Outbound in transit is added back when FOB_destination, shipped by period end and not arrived. Goods consigned out are added; consigned-in and bill-and-hold goods (counted but not owned) are subtracted regardless of terms. Return {adjusted, adds, subtracts}.

Why this case matters

Inventory valuation and cost-of-goods decisions depend on this rule.

One recorded failure

Sample boundary fixture

This sample comes from the broken implementation of a controlled reproducer.

Boundary fixtureActualExpectedOutcome
bill and hold{"adds": 0, "adjusted": 6000, "subtracts": 0}{"adds": 0, "adjusted": 5547, "subtracts": 453}Failed

MEMBER ARCHIVE

The complete case is available to members.

This record includes three runnable implementations, regression fixtures, execution results, and source hashes.

Member access is invitation-based. Sign in with your invited account to inspect the sources.

Sign in to the archive ↗