{"ref":{"kind":"component","id":"corporate_inventory_purchases","key":"sha256:f4dac29244d791bee6d7943eec9f1256be403497dce711a1271fbb676e595775"},"label":"Inventory purchases and supplier cash","description":"Compose inventory and supplier obligations into consistent direct and indirect cash effects.","inputs":[{"label":"Acquired Cash","name":"acquired.cash","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Acquired Credit","name":"acquired.credit","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Adjustments Inventory","name":"adjustments.inventory","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Adjustments Payables","name":"adjustments.payables","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Opening Inventory","name":"opening.inventory","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Opening Payables","name":"opening.payables","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Payments","name":"payments","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Used Sold","name":"used.sold","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Used Write Downs","name":"used.write_downs","valueType":{"axes":[],"dtype":"f64","unit":"$"}}],"outputs":[{"label":"Balance Residual","name":"balance_residual","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Cash Effect","name":"cash_effect","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Cash Residual","name":"cash_residual","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Income Effect","name":"income_effect","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Indirect Cash Effect","name":"indirect_cash_effect","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Inventory","name":"inventory","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Inventory Change","name":"inventory_change","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Inventory Shortfall","name":"inventory_shortfall","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Inventory Working Cash","name":"inventory_working_cash","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Negative Inputs","name":"negative_inputs","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Noncash Net Assets","name":"noncash_net_assets","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Payables","name":"payables","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Payables Change","name":"payables_change","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Payables Shortfall","name":"payables_shortfall","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Payables Working Cash","name":"payables_working_cash","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Purchases","name":"purchases","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Write Down Addback","name":"write_down_addback","valueType":{"axes":[],"dtype":"f64","unit":"$"}}],"dependencies":[{"id":"corporate_payables_period","key":"sha256:9656e4e0527c69d8a6838c0ccf58f57546bee7235cbe2b565bd2b43703392d23","kind":"component"},{"id":"corporate_inventory_period","key":"sha256:b69532b42e801e61ab0c15a845cf4a80b3772c524865c84eb8ffe5bee02c7378","kind":"component"}],"libraries":["corporate_inventory"],"notes":{"conventions":["Cash and credit purchases partition recognized inventory additions; credit additions enter the matched supplier-payables ledger.","Payments settle that ledger in cash. Advances, uninvoiced receipts, service accruals and financing need explicit adapters.","The cash-flow inventory adjustment excludes write-downs and non-income adjustments; write-downs are added back once.","Adjustments affect net assets without being classified as cash or income here; their full accounting destination belongs to the caller.","Cost-only income and cash effects omit sales receipts, taxes and other operating flows; they are not company earnings or cash flow.","Missing purchases, goods costs or payments are not zero assumptions or solved balancing inputs."]},"calculation":{"nodes":[{"id":"input-acquired.cash","label":"Acquired Cash","kind":"input"},{"id":"input-acquired.credit","label":"Acquired Credit","kind":"input"},{"id":"input-adjustments.inventory","label":"Adjustments Inventory","kind":"input"},{"id":"input-adjustments.payables","label":"Adjustments Payables","kind":"input"},{"id":"input-opening.inventory","label":"Opening Inventory","kind":"input"},{"id":"input-opening.payables","label":"Opening Payables","kind":"input"},{"id":"input-payments","label":"Payments","kind":"input"},{"id":"input-used.sold","label":"Used Sold","kind":"input"},{"id":"input-used.write_downs","label":"Used Write Downs","kind":"input"},{"id":"step-purchases","label":"Purchases","kind":"step","rule":"(Acquired Cash + Acquired Credit)","sources":[{"node":"input-acquired.cash"},{"node":"input-acquired.credit"}]},{"id":"step-noncash_net_assets","label":"Noncash Net Assets","kind":"step","rule":"(Adjustments Inventory − Adjustments Payables)","sources":[{"node":"input-adjustments.inventory"},{"node":"input-adjustments.payables"}]},{"id":"step-creditors","label":"Creditors","kind":"step","rule":"Result of Payables obligations roll-forward","sources":[{"node":"input-acquired.credit"},{"node":"input-adjustments.payables"},{"node":"input-opening.payables"},{"node":"input-payments"}],"calls":[{"component":"corporate_payables_period","purpose":"Roll a defined obligations ledger without confusing recognition, payment and noncash changes.","label":"Payables obligations roll-forward","bindings":[{"name":"additions","label":"Additions","value":"Acquired Credit"},{"name":"adjustments","label":"Adjustments","value":"Adjustments Payables"},{"name":"opening","label":"Opening","value":"Opening Payables"},{"name":"payments","label":"Payments","value":"Payments"}]}]},{"id":"step-payables_working_cash","label":"Payables Working Cash","kind":"step","rule":"(Acquired Credit − Payments)","sources":[{"node":"input-acquired.credit"},{"node":"input-payments"}]},{"id":"step-goods","label":"Goods","kind":"step","rule":"Result of Inventory roll-forward","sources":[{"node":"input-adjustments.inventory"},{"node":"input-opening.inventory"},{"node":"step-purchases"},{"node":"input-used.sold"},{"node":"input-used.write_downs"}],"calls":[{"component":"corporate_inventory_period","purpose":"Separate inventory acquisition, expensing, impairment and non-income movements.","label":"Inventory roll-forward","bindings":[{"name":"adjustments","label":"Adjustments","value":"Adjustments Inventory"},{"name":"opening","label":"Opening","value":"Opening Inventory"},{"name":"purchases","label":"Purchases","value":"Purchases"},{"name":"sold","label":"Sold","value":"Used Sold"},{"name":"write_downs","label":"Write Downs","value":"Used Write Downs"}]}]},{"id":"step-inventory_working_cash","label":"Inventory Working Cash","kind":"step","rule":"(Used Sold − Purchases)","sources":[{"node":"input-used.sold"},{"node":"step-purchases"}]},{"id":"output-purchases","kind":"output","label":"Purchases","rule":"Purchases","sources":[{"node":"step-purchases"}]},{"id":"output-noncash_net_assets","kind":"output","label":"Noncash Net Assets","rule":"Noncash Net Assets","sources":[{"node":"step-noncash_net_assets"}]},{"id":"step-cash_effect","label":"Cash Effect","kind":"step","rule":"((Acquired Cash × -1) + Creditors · Cash Effect)","sources":[{"node":"input-acquired.cash"},{"node":"step-creditors","field":"cash_effect","fieldLabel":"Cash Effect","url":"/catalog/components/corporate_payables_period/#output-cash_effect"}]},{"id":"output-payables","kind":"output","label":"Payables","rule":"Creditors · Closing","sources":[{"node":"step-creditors","field":"closing","fieldLabel":"Closing","url":"/catalog/components/corporate_payables_period/#output-closing"}]},{"id":"output-payables_change","kind":"output","label":"Payables Change","rule":"Creditors · Change","sources":[{"node":"step-creditors","field":"change","fieldLabel":"Change","url":"/catalog/components/corporate_payables_period/#output-change"}]},{"id":"output-payables_shortfall","kind":"output","label":"Payables Shortfall","rule":"Creditors · Shortfall","sources":[{"node":"step-creditors","field":"shortfall","fieldLabel":"Shortfall","url":"/catalog/components/corporate_payables_period/#output-shortfall"}]},{"id":"output-payables_working_cash","kind":"output","label":"Payables Working Cash","rule":"Payables Working Cash","sources":[{"node":"step-payables_working_cash"}]},{"id":"output-income_effect","kind":"output","label":"Income Effect","rule":"Goods · Income Effect","sources":[{"node":"step-goods","field":"income_effect","fieldLabel":"Income Effect","url":"/catalog/components/corporate_inventory_period/#output-income_effect"}]},{"id":"output-write_down_addback","kind":"output","label":"Write Down Addback","rule":"Goods · Write Down Addback","sources":[{"node":"step-goods","field":"write_down_addback","fieldLabel":"Write Down Addback","url":"/catalog/components/corporate_inventory_period/#output-write_down_addback"}]},{"id":"output-inventory","kind":"output","label":"Inventory","rule":"Goods · Closing","sources":[{"node":"step-goods","field":"closing","fieldLabel":"Closing","url":"/catalog/components/corporate_inventory_period/#output-closing"}]},{"id":"output-inventory_change","kind":"output","label":"Inventory Change","rule":"Goods · Change","sources":[{"node":"step-goods","field":"change","fieldLabel":"Change","url":"/catalog/components/corporate_inventory_period/#output-change"}]},{"id":"output-inventory_shortfall","kind":"output","label":"Inventory Shortfall","rule":"Goods · Shortfall","sources":[{"node":"step-goods","field":"shortfall","fieldLabel":"Shortfall","url":"/catalog/components/corporate_inventory_period/#output-shortfall"}]},{"id":"output-negative_inputs","kind":"output","label":"Negative Inputs","rule":"((Goods · Negative Inputs + Creditors · Negative Inputs) + Higher of (Acquired Cash × -1) and 0)","sources":[{"node":"step-goods","field":"negative_inputs","fieldLabel":"Negative Inputs","url":"/catalog/components/corporate_inventory_period/#output-negative_inputs"},{"node":"step-creditors","field":"negative_inputs","fieldLabel":"Negative Inputs","url":"/catalog/components/corporate_payables_period/#output-negative_inputs"},{"node":"input-acquired.cash"}]},{"id":"step-indirect_cash_effect","label":"Indirect Cash Effect","kind":"step","rule":"(((Goods · Income Effect + Goods · Write Down Addback) + Inventory Working Cash) + Payables Working Cash)","sources":[{"node":"step-goods","field":"income_effect","fieldLabel":"Income Effect","url":"/catalog/components/corporate_inventory_period/#output-income_effect"},{"node":"step-goods","field":"write_down_addback","fieldLabel":"Write Down Addback","url":"/catalog/components/corporate_inventory_period/#output-write_down_addback"},{"node":"step-inventory_working_cash"},{"node":"step-payables_working_cash"}]},{"id":"output-inventory_working_cash","kind":"output","label":"Inventory Working Cash","rule":"Inventory Working Cash","sources":[{"node":"step-inventory_working_cash"}]},{"id":"output-balance_residual","kind":"output","label":"Balance Residual","rule":"((((Cash Effect + Goods · Change) − Creditors · Change) − Goods · Income Effect) − Noncash Net Assets)","sources":[{"node":"step-cash_effect"},{"node":"step-goods","field":"change","fieldLabel":"Change","url":"/catalog/components/corporate_inventory_period/#output-change"},{"node":"step-creditors","field":"change","fieldLabel":"Change","url":"/catalog/components/corporate_payables_period/#output-change"},{"node":"step-goods","field":"income_effect","fieldLabel":"Income Effect","url":"/catalog/components/corporate_inventory_period/#output-income_effect"},{"node":"step-noncash_net_assets"}]},{"id":"output-cash_effect","kind":"output","label":"Cash Effect","rule":"Cash Effect","sources":[{"node":"step-cash_effect"}]},{"id":"output-cash_residual","kind":"output","label":"Cash Residual","rule":"(Indirect Cash Effect − Cash Effect)","sources":[{"node":"step-indirect_cash_effect"},{"node":"step-cash_effect"}]},{"id":"output-indirect_cash_effect","kind":"output","label":"Indirect Cash Effect","rule":"Indirect Cash Effect","sources":[{"node":"step-indirect_cash_effect"}]}],"topics":[{"label":"Inventory purchases and supplier cash","results":["output-balance_residual","output-cash_effect","output-cash_residual","output-indirect_cash_effect","output-inventory_working_cash","output-negative_inputs","output-noncash_net_assets","output-payables_working_cash","output-purchases"]},{"label":"Inventory roll-forward","results":["output-income_effect","output-write_down_addback","output-inventory","output-inventory_change","output-inventory_shortfall"]},{"label":"Payables obligations roll-forward","results":["output-payables","output-payables_change","output-payables_shortfall"]}]},"usedBy":[]}
