{"ref":{"kind":"component","id":"corporate_inventory_period","key":"sha256:b69532b42e801e61ab0c15a845cf4a80b3772c524865c84eb8ffe5bee02c7378"},"label":"Inventory roll-forward","description":"Separate inventory acquisition, expensing, impairment and non-income movements.","inputs":[{"label":"Adjustments","name":"adjustments","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Opening","name":"opening","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Purchases","name":"purchases","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Sold","name":"sold","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Write Downs","name":"write_downs","valueType":{"axes":[],"dtype":"f64","unit":"$"}}],"outputs":[{"label":"Change","name":"change","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Closing","name":"closing","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Income Effect","name":"income_effect","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Negative Inputs","name":"negative_inputs","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Shortfall","name":"shortfall","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Write Down Addback","name":"write_down_addback","valueType":{"axes":[],"dtype":"f64","unit":"$"}}],"dependencies":[],"libraries":["corporate_inventory"],"notes":{"conventions":["Opening inventory, recognized purchases, goods expensed and write-downs are nonnegative amounts in one period and scope.","Goods expensed excludes the separately supplied write-downs; adjustments are identified signed non-income movements.","Opening and closing inventory use a consistent carrying basis; no valuation reserve, purchases or FX amount is inferred.","Recognized purchases are inventory additions, not cash payments; the caller supplies recognition and cost-allocation policy.","Negative closing inventory remains visible with a shortfall, never replenished automatically."]},"calculation":{"nodes":[{"id":"input-adjustments","label":"Adjustments","kind":"input"},{"id":"input-opening","label":"Opening","kind":"input"},{"id":"input-purchases","label":"Purchases","kind":"input"},{"id":"input-sold","label":"Sold","kind":"input"},{"id":"input-write_downs","label":"Write Downs","kind":"input"},{"id":"step-change","label":"Change","kind":"step","rule":"(((Purchases − Sold) − Write Downs) + Adjustments)","sources":[{"node":"input-purchases"},{"node":"input-sold"},{"node":"input-write_downs"},{"node":"input-adjustments"}]},{"id":"output-income_effect","kind":"output","label":"Income Effect","rule":"((Sold × -1) − Write Downs)","sources":[{"node":"input-sold"},{"node":"input-write_downs"}]},{"id":"output-negative_inputs","kind":"output","label":"Negative Inputs","rule":"(((Higher of (Opening × -1) and 0 + Higher of (Purchases × -1) and 0) + Higher of (Sold × -1) and 0) + Higher of (Write Downs × -1) and 0)","sources":[{"node":"input-opening"},{"node":"input-purchases"},{"node":"input-sold"},{"node":"input-write_downs"}]},{"id":"output-write_down_addback","kind":"output","label":"Write Down Addback","rule":"Write Downs","sources":[{"node":"input-write_downs"}]},{"id":"step-closing","label":"Closing","kind":"step","rule":"(Opening + Change)","sources":[{"node":"input-opening"},{"node":"step-change"}]},{"id":"output-change","kind":"output","label":"Change","rule":"Change","sources":[{"node":"step-change"}]},{"id":"output-closing","kind":"output","label":"Closing","rule":"Closing","sources":[{"node":"step-closing"}]},{"id":"output-shortfall","kind":"output","label":"Shortfall","rule":"Higher of (Closing × -1) and 0","sources":[{"node":"step-closing"}]}],"topics":[{"label":"Inventory roll-forward","results":["output-change","output-closing","output-income_effect","output-negative_inputs","output-shortfall","output-write_down_addback"]}]},"usedBy":[]}
