[{"data":1,"prerenderedAt":1089},["ShallowReactive",2],{"navigation":3,"\u002Ftutorials\u002Freplenish-a-branch":488,"\u002Ftutorials\u002Freplenish-a-branch-surround":1084,"\u002Ftutorials\u002Freplenish-a-branch-reference":1078},[4,28,93,113,135,173],{"title":5,"path":6,"stem":7,"children":8,"icon":27},"Getting started","\u002Fgetting-started","1.getting-started\u002F1.index",[9,12,17,22],{"title":10,"path":6,"stem":7,"icon":11},"Introduction","i-lucide-house",{"title":13,"path":14,"stem":15,"icon":16},"Concepts","\u002Fgetting-started\u002Fconcepts","1.getting-started\u002F2.concepts","i-lucide-shapes",{"title":18,"path":19,"stem":20,"icon":21},"Quickstart in the portal","\u002Fgetting-started\u002Fquickstart","1.getting-started\u002F3.quickstart","i-lucide-mouse-pointer-click",{"title":23,"path":24,"stem":25,"icon":26},"Quickstart with the API","\u002Fgetting-started\u002Fapi-quickstart","1.getting-started\u002F4.api-quickstart","i-lucide-terminal",false,{"title":29,"icon":27,"path":30,"stem":31,"children":32,"page":27},"Guides","\u002Fguides","2.guides",[33,38,43,48,53,58,63,68,73,78,83,88],{"title":34,"path":35,"stem":36,"icon":37},"Products","\u002Fguides\u002Fproducts","2.guides\u002F01.products","i-lucide-package",{"title":39,"path":40,"stem":41,"icon":42},"Pricing","\u002Fguides\u002Fpricing","2.guides\u002F02.pricing","i-lucide-tags",{"title":44,"path":45,"stem":46,"icon":47},"Locations","\u002Fguides\u002Flocations","2.guides\u002F03.locations","i-lucide-map-pin",{"title":49,"path":50,"stem":51,"icon":52},"Inventory","\u002Fguides\u002Finventory","2.guides\u002F04.inventory","i-lucide-warehouse",{"title":54,"path":55,"stem":56,"icon":57},"Suppliers and purchasing","\u002Fguides\u002Fsuppliers-and-purchasing","2.guides\u002F05.suppliers-and-purchasing","i-lucide-truck",{"title":59,"path":60,"stem":61,"icon":62},"Transfer orders","\u002Fguides\u002Ftransfer-orders","2.guides\u002F06.transfer-orders","i-lucide-arrow-left-right",{"title":64,"path":65,"stem":66,"icon":67},"Bills of material","\u002Fguides\u002Fbills-of-material","2.guides\u002F07.bills-of-material","i-lucide-list-tree",{"title":69,"path":70,"stem":71,"icon":72},"Production","\u002Fguides\u002Fproduction","2.guides\u002F08.production","i-lucide-factory",{"title":74,"path":75,"stem":76,"icon":77},"Orders and shipments","\u002Fguides\u002Forders-and-shipments","2.guides\u002F09.orders-and-shipments","i-lucide-shopping-cart",{"title":79,"path":80,"stem":81,"icon":82},"Business hierarchy","\u002Fguides\u002Fbusiness-hierarchy","2.guides\u002F10.business-hierarchy","i-lucide-network",{"title":84,"path":85,"stem":86,"icon":87},"Users and roles","\u002Fguides\u002Fusers-and-roles","2.guides\u002F11.users-and-roles","i-lucide-users",{"title":89,"path":90,"stem":91,"icon":92},"Notifications","\u002Fguides\u002Fnotifications","2.guides\u002F12.notifications","i-lucide-bell",{"title":94,"icon":27,"path":95,"stem":96,"children":97,"page":27},"Planning and AI","\u002Fplanning-and-ai","3.planning-and-ai",[98,103,108],{"title":99,"path":100,"stem":101,"icon":102},"Miridia Planner","\u002Fplanning-and-ai\u002Fmiridia-planner","3.planning-and-ai\u002F1.miridia-planner","i-lucide-chart-line",{"title":104,"path":105,"stem":106,"icon":107},"Miridia AI Studio","\u002Fplanning-and-ai\u002Fai-studio","3.planning-and-ai\u002F2.ai-studio","i-lucide-sparkles",{"title":109,"path":110,"stem":111,"icon":112},"Miridia Console","\u002Fplanning-and-ai\u002Fconsole","3.planning-and-ai\u002F3.console","i-lucide-monitor",{"title":114,"path":115,"stem":116,"children":117,"icon":27},"Integrations","\u002Fintegrations","4.integrations\u002F1.index",[118,121,126,131],{"title":119,"path":115,"stem":116,"icon":120},"Integrations overview","i-lucide-plug",{"title":122,"path":123,"stem":124,"icon":125},"Workflows and events","\u002Fintegrations\u002Fworkflows","4.integrations\u002F2.workflows","i-lucide-workflow",{"title":127,"path":128,"stem":129,"icon":130},"Build a connector","\u002Fintegrations\u002Fconnectors","4.integrations\u002F3.connectors","i-lucide-cable",{"title":132,"path":133,"stem":134,"icon":52},"Data warehouse","\u002Fintegrations\u002Fdata-warehouse","4.integrations\u002F4.data-warehouse",{"title":136,"path":137,"stem":138,"children":139,"icon":27},"Tutorials","\u002Ftutorials","5.tutorials\u002F01.index",[140,143,148,152,157,161,165,169],{"title":141,"path":137,"stem":138,"icon":142},"Video tutorials","i-lucide-circle-play",{"title":144,"path":145,"stem":146,"icon":147},"Set up your business","\u002Ftutorials\u002Fset-up-your-business","5.tutorials\u002F02.set-up-your-business","i-lucide-building-2",{"title":149,"path":150,"stem":151,"icon":42},"Add products and prices","\u002Ftutorials\u002Fadd-products-and-prices","5.tutorials\u002F03.add-products-and-prices",{"title":153,"path":154,"stem":155,"icon":156},"Receive a purchase order","\u002Ftutorials\u002Freceive-a-purchase-order","5.tutorials\u002F04.receive-a-purchase-order","i-lucide-package-check",{"title":158,"path":159,"stem":160,"icon":62},"Replenish a branch","\u002Ftutorials\u002Freplenish-a-branch","5.tutorials\u002F05.replenish-a-branch",{"title":162,"path":163,"stem":164,"icon":72},"Cost and produce a product","\u002Ftutorials\u002Fcost-and-produce","5.tutorials\u002F06.cost-and-produce",{"title":166,"path":167,"stem":168,"icon":125},"Automate with n8n","\u002Ftutorials\u002Fautomate-with-n8n","5.tutorials\u002F07.automate-with-n8n",{"title":170,"path":171,"stem":172,"icon":26},"Call the API","\u002Ftutorials\u002Fcall-the-api","5.tutorials\u002F08.call-the-api",{"title":174,"path":175,"stem":176,"children":177,"icon":27},"Developers","\u002Fdevelopers","6.developers\u002F1.index",[178,181,186,191,234],{"title":179,"path":175,"stem":176,"icon":180},"API overview","i-lucide-braces",{"title":182,"path":183,"stem":184,"icon":185},"Authentication","\u002Fdevelopers\u002Fauthentication","6.developers\u002F2.authentication","i-lucide-key-round",{"title":187,"path":188,"stem":189,"icon":190},"Conventions","\u002Fdevelopers\u002Fconventions","6.developers\u002F3.conventions","i-lucide-list-checks",{"title":192,"icon":27,"path":193,"stem":194,"children":195,"page":27},"Global API","\u002Fdevelopers\u002Fglobal-api","6.developers\u002F4.global-api",[196,199,204,209,214,219,224,229],{"title":182,"path":197,"stem":198,"icon":185},"\u002Fdevelopers\u002Fglobal-api\u002Fauth","6.developers\u002F4.global-api\u002F01.auth",{"title":200,"path":201,"stem":202,"icon":203},"Organizations","\u002Fdevelopers\u002Fglobal-api\u002Forganization","6.developers\u002F4.global-api\u002F02.organization","i-lucide-building",{"title":205,"path":206,"stem":207,"icon":208},"Users","\u002Fdevelopers\u002Fglobal-api\u002Fuser","6.developers\u002F4.global-api\u002F03.user","i-lucide-user",{"title":210,"path":211,"stem":212,"icon":213},"Linked accounts","\u002Fdevelopers\u002Fglobal-api\u002Flinked-accounts","6.developers\u002F4.global-api\u002F04.linked-accounts","i-lucide-link",{"title":215,"path":216,"stem":217,"icon":218},"Subscriptions","\u002Fdevelopers\u002Fglobal-api\u002Fsubscription","6.developers\u002F4.global-api\u002F05.subscription","i-lucide-credit-card",{"title":220,"path":221,"stem":222,"icon":223},"Support","\u002Fdevelopers\u002Fglobal-api\u002Fsupport","6.developers\u002F4.global-api\u002F06.support","i-lucide-life-buoy",{"title":225,"path":226,"stem":227,"icon":228},"Banners","\u002Fdevelopers\u002Fglobal-api\u002Fnotification","6.developers\u002F4.global-api\u002F07.notification","i-lucide-megaphone",{"title":230,"path":231,"stem":232,"icon":233},"Signing keys","\u002Fdevelopers\u002Fglobal-api\u002Fwell-known","6.developers\u002F4.global-api\u002F08.well-known","i-lucide-shield-check",{"title":235,"icon":27,"path":236,"stem":237,"children":238,"page":27},"Core API","\u002Fdevelopers\u002Fcore-api","6.developers\u002F5.core-api",[239,255,272,285,305,327,376,409,436],{"title":240,"icon":37,"path":241,"stem":242,"children":243,"page":27},"Catalogue","\u002Fdevelopers\u002Fcore-api\u002Fcatalogue","6.developers\u002F5.core-api\u002F01.catalogue",[244,247,251],{"title":34,"path":245,"stem":246,"icon":37},"\u002Fdevelopers\u002Fcore-api\u002Fcatalogue\u002Fproducts","6.developers\u002F5.core-api\u002F01.catalogue\u002F01.products",{"title":248,"path":249,"stem":250,"icon":37},"Product groups","\u002Fdevelopers\u002Fcore-api\u002Fcatalogue\u002Fproduct-groups","6.developers\u002F5.core-api\u002F01.catalogue\u002F02.product-groups",{"title":252,"path":253,"stem":254,"icon":37},"Price lists","\u002Fdevelopers\u002Fcore-api\u002Fcatalogue\u002Fprice-lists","6.developers\u002F5.core-api\u002F01.catalogue\u002F03.price-lists",{"title":49,"icon":52,"path":256,"stem":257,"children":258,"page":27},"\u002Fdevelopers\u002Fcore-api\u002Finventory","6.developers\u002F5.core-api\u002F02.inventory",[259,262,266,269],{"title":49,"path":260,"stem":261,"icon":52},"\u002Fdevelopers\u002Fcore-api\u002Finventory\u002Finventory","6.developers\u002F5.core-api\u002F02.inventory\u002F01.inventory",{"title":263,"path":264,"stem":265,"icon":52},"Inventory lots","\u002Fdevelopers\u002Fcore-api\u002Finventory\u002Finventory-lots","6.developers\u002F5.core-api\u002F02.inventory\u002F02.inventory-lots",{"title":44,"path":267,"stem":268,"icon":52},"\u002Fdevelopers\u002Fcore-api\u002Finventory\u002Flocations","6.developers\u002F5.core-api\u002F02.inventory\u002F03.locations",{"title":59,"path":270,"stem":271,"icon":52},"\u002Fdevelopers\u002Fcore-api\u002Finventory\u002Ftransfer-orders","6.developers\u002F5.core-api\u002F02.inventory\u002F04.transfer-orders",{"title":273,"icon":77,"path":274,"stem":275,"children":276,"page":27},"Procurement","\u002Fdevelopers\u002Fcore-api\u002Fprocurement","6.developers\u002F5.core-api\u002F03.procurement",[277,281],{"title":278,"path":279,"stem":280,"icon":77},"Suppliers","\u002Fdevelopers\u002Fcore-api\u002Fprocurement\u002Fsuppliers","6.developers\u002F5.core-api\u002F03.procurement\u002F01.suppliers",{"title":282,"path":283,"stem":284,"icon":77},"Purchase orders","\u002Fdevelopers\u002Fcore-api\u002Fprocurement\u002Fpurchase-orders","6.developers\u002F5.core-api\u002F03.procurement\u002F02.purchase-orders",{"title":286,"icon":72,"path":287,"stem":288,"children":289,"page":27},"Manufacturing","\u002Fdevelopers\u002Fcore-api\u002Fmanufacturing","6.developers\u002F5.core-api\u002F04.manufacturing",[290,293,297,301],{"title":64,"path":291,"stem":292,"icon":72},"\u002Fdevelopers\u002Fcore-api\u002Fmanufacturing\u002Fboms","6.developers\u002F5.core-api\u002F04.manufacturing\u002F01.boms",{"title":294,"path":295,"stem":296,"icon":72},"Production processes","\u002Fdevelopers\u002Fcore-api\u002Fmanufacturing\u002Fproduction-processes","6.developers\u002F5.core-api\u002F04.manufacturing\u002F02.production-processes",{"title":298,"path":299,"stem":300,"icon":72},"Work orders","\u002Fdevelopers\u002Fcore-api\u002Fmanufacturing\u002Fwork-orders","6.developers\u002F5.core-api\u002F04.manufacturing\u002F03.work-orders",{"title":302,"path":303,"stem":304,"icon":72},"Work order templates","\u002Fdevelopers\u002Fcore-api\u002Fmanufacturing\u002Fwork-order-templates","6.developers\u002F5.core-api\u002F04.manufacturing\u002F04.work-order-templates",{"title":306,"icon":307,"path":308,"stem":309,"children":310,"page":27},"Sales","i-lucide-receipt","\u002Fdevelopers\u002Fcore-api\u002Fsales","6.developers\u002F5.core-api\u002F05.sales",[311,315,319,323],{"title":312,"path":313,"stem":314,"icon":307},"Orders","\u002Fdevelopers\u002Fcore-api\u002Fsales\u002Forders","6.developers\u002F5.core-api\u002F05.sales\u002F01.orders",{"title":316,"path":317,"stem":318,"icon":307},"Customers","\u002Fdevelopers\u002Fcore-api\u002Fsales\u002Fcustomers","6.developers\u002F5.core-api\u002F05.sales\u002F02.customers",{"title":320,"path":321,"stem":322,"icon":307},"Customer groups","\u002Fdevelopers\u002Fcore-api\u002Fsales\u002Fcustomer-groups","6.developers\u002F5.core-api\u002F05.sales\u002F03.customer-groups",{"title":324,"path":325,"stem":326,"icon":307},"Sales channels","\u002Fdevelopers\u002Fcore-api\u002Fsales\u002Fsales-channels","6.developers\u002F5.core-api\u002F05.sales\u002F04.sales-channels",{"title":328,"icon":57,"path":329,"stem":330,"children":331,"page":27},"Logistics","\u002Fdevelopers\u002Fcore-api\u002Flogistics","6.developers\u002F5.core-api\u002F06.logistics",[332,336,340,344,348,352,356,360,364,368,372],{"title":333,"path":334,"stem":335,"icon":57},"Shipments","\u002Fdevelopers\u002Fcore-api\u002Flogistics\u002Fshipment","6.developers\u002F5.core-api\u002F06.logistics\u002F01.shipment",{"title":337,"path":338,"stem":339,"icon":57},"Carriers","\u002Fdevelopers\u002Fcore-api\u002Flogistics\u002Fcarriers","6.developers\u002F5.core-api\u002F06.logistics\u002F02.carriers",{"title":341,"path":342,"stem":343,"icon":57},"Rates","\u002Fdevelopers\u002Fcore-api\u002Flogistics\u002Frates","6.developers\u002F5.core-api\u002F06.logistics\u002F03.rates",{"title":345,"path":346,"stem":347,"icon":57},"Waybills","\u002Fdevelopers\u002Fcore-api\u002Flogistics\u002Fwaybill","6.developers\u002F5.core-api\u002F06.logistics\u002F04.waybill",{"title":349,"path":350,"stem":351,"icon":57},"Delivery plans","\u002Fdevelopers\u002Fcore-api\u002Flogistics\u002Fdelivery-plans","6.developers\u002F5.core-api\u002F06.logistics\u002F05.delivery-plans",{"title":353,"path":354,"stem":355,"icon":57},"Delivery zones","\u002Fdevelopers\u002Fcore-api\u002Flogistics\u002Fdelivery-zones","6.developers\u002F5.core-api\u002F06.logistics\u002F06.delivery-zones",{"title":357,"path":358,"stem":359,"icon":57},"Vehicles","\u002Fdevelopers\u002Fcore-api\u002Flogistics\u002Fvehicle","6.developers\u002F5.core-api\u002F06.logistics\u002F07.vehicle",{"title":361,"path":362,"stem":363,"icon":57},"Drivers","\u002Fdevelopers\u002Fcore-api\u002Flogistics\u002Fdriver","6.developers\u002F5.core-api\u002F06.logistics\u002F08.driver",{"title":365,"path":366,"stem":367,"icon":57},"Dimension presets","\u002Fdevelopers\u002Fcore-api\u002Flogistics\u002Fdimension-preset","6.developers\u002F5.core-api\u002F06.logistics\u002F09.dimension-preset",{"title":369,"path":370,"stem":371,"icon":57},"Fulfilment","\u002Fdevelopers\u002Fcore-api\u002Flogistics\u002Ffulfillment","6.developers\u002F5.core-api\u002F06.logistics\u002F10.fulfillment",{"title":373,"path":374,"stem":375,"icon":57},"Schedules","\u002Fdevelopers\u002Fcore-api\u002Flogistics\u002Fschedule","6.developers\u002F5.core-api\u002F06.logistics\u002F11.schedule",{"title":377,"icon":102,"path":378,"stem":379,"children":380,"page":27},"Insights","\u002Fdevelopers\u002Fcore-api\u002Finsights","6.developers\u002F5.core-api\u002F07.insights",[381,385,389,393,397,401,405],{"title":382,"path":383,"stem":384,"icon":102},"Dashboard insights","\u002Fdevelopers\u002Fcore-api\u002Finsights\u002Fdashboard-insights","6.developers\u002F5.core-api\u002F07.insights\u002F01.dashboard-insights",{"title":386,"path":387,"stem":388,"icon":102},"Sales insights","\u002Fdevelopers\u002Fcore-api\u002Finsights\u002Fsales-insights","6.developers\u002F5.core-api\u002F07.insights\u002F02.sales-insights",{"title":390,"path":391,"stem":392,"icon":102},"Inventory insights","\u002Fdevelopers\u002Fcore-api\u002Finsights\u002Finventory-insights","6.developers\u002F5.core-api\u002F07.insights\u002F03.inventory-insights",{"title":394,"path":395,"stem":396,"icon":102},"Location insights","\u002Fdevelopers\u002Fcore-api\u002Finsights\u002Flocation-insights","6.developers\u002F5.core-api\u002F07.insights\u002F04.location-insights",{"title":398,"path":399,"stem":400,"icon":102},"Supplier insights","\u002Fdevelopers\u002Fcore-api\u002Finsights\u002Fsupplier-insights","6.developers\u002F5.core-api\u002F07.insights\u002F05.supplier-insights",{"title":402,"path":403,"stem":404,"icon":102},"Network insights","\u002Fdevelopers\u002Fcore-api\u002Finsights\u002Fnetwork-insights","6.developers\u002F5.core-api\u002F07.insights\u002F06.network-insights",{"title":406,"path":407,"stem":408,"icon":102},"AI Studio","\u002Fdevelopers\u002Fcore-api\u002Finsights\u002Fai-studio","6.developers\u002F5.core-api\u002F07.insights\u002F07.ai-studio",{"title":114,"icon":120,"path":410,"stem":411,"children":412,"page":27},"\u002Fdevelopers\u002Fcore-api\u002Fintegrations","6.developers\u002F5.core-api\u002F08.integrations",[413,416,420,424,428,432],{"title":114,"path":414,"stem":415,"icon":120},"\u002Fdevelopers\u002Fcore-api\u002Fintegrations\u002Fintegrations","6.developers\u002F5.core-api\u002F08.integrations\u002F01.integrations",{"title":417,"path":418,"stem":419,"icon":120},"Workflows","\u002Fdevelopers\u002Fcore-api\u002Fintegrations\u002Fworkflow","6.developers\u002F5.core-api\u002F08.integrations\u002F02.workflow",{"title":421,"path":422,"stem":423,"icon":120},"Triggers","\u002Fdevelopers\u002Fcore-api\u002Fintegrations\u002Ftriggers","6.developers\u002F5.core-api\u002F08.integrations\u002F03.triggers",{"title":425,"path":426,"stem":427,"icon":120},"Order integration","\u002Fdevelopers\u002Fcore-api\u002Fintegrations\u002Forder-integration","6.developers\u002F5.core-api\u002F08.integrations\u002F04.order-integration",{"title":429,"path":430,"stem":431,"icon":120},"Product integration","\u002Fdevelopers\u002Fcore-api\u002Fintegrations\u002Fproduct-integration","6.developers\u002F5.core-api\u002F08.integrations\u002F05.product-integration",{"title":433,"path":434,"stem":435,"icon":120},"Shipment integration","\u002Fdevelopers\u002Fcore-api\u002Fintegrations\u002Fshipment-integration","6.developers\u002F5.core-api\u002F08.integrations\u002F06.shipment-integration",{"title":437,"icon":438,"path":439,"stem":440,"children":441,"page":27},"Administration","i-lucide-settings","\u002Fdevelopers\u002Fcore-api\u002Fadministration","6.developers\u002F5.core-api\u002F09.administration",[442,446,450,454,458,462,465,468,472,476,480,484],{"title":443,"path":444,"stem":445,"icon":438},"Businesses","\u002Fdevelopers\u002Fcore-api\u002Fadministration\u002Fbusiness","6.developers\u002F5.core-api\u002F09.administration\u002F01.business",{"title":447,"path":448,"stem":449,"icon":438},"Configurations","\u002Fdevelopers\u002Fcore-api\u002Fadministration\u002Fconfigurations","6.developers\u002F5.core-api\u002F09.administration\u002F02.configurations",{"title":451,"path":452,"stem":453,"icon":438},"Roles","\u002Fdevelopers\u002Fcore-api\u002Fadministration\u002Froles","6.developers\u002F5.core-api\u002F09.administration\u002F03.roles",{"title":455,"path":456,"stem":457,"icon":438},"Teams","\u002Fdevelopers\u002Fcore-api\u002Fadministration\u002Fteams","6.developers\u002F5.core-api\u002F09.administration\u002F04.teams",{"title":459,"path":460,"stem":461,"icon":438},"Employees","\u002Fdevelopers\u002Fcore-api\u002Fadministration\u002Femployee","6.developers\u002F5.core-api\u002F09.administration\u002F05.employee",{"title":205,"path":463,"stem":464,"icon":438},"\u002Fdevelopers\u002Fcore-api\u002Fadministration\u002Fuser","6.developers\u002F5.core-api\u002F09.administration\u002F06.user",{"title":89,"path":466,"stem":467,"icon":438},"\u002Fdevelopers\u002Fcore-api\u002Fadministration\u002Fnotification","6.developers\u002F5.core-api\u002F09.administration\u002F07.notification",{"title":469,"path":470,"stem":471,"icon":438},"Push notifications","\u002Fdevelopers\u002Fcore-api\u002Fadministration\u002Fpush-notification","6.developers\u002F5.core-api\u002F09.administration\u002F08.push-notification",{"title":473,"path":474,"stem":475,"icon":438},"Files","\u002Fdevelopers\u002Fcore-api\u002Fadministration\u002Ffiles","6.developers\u002F5.core-api\u002F09.administration\u002F09.files",{"title":477,"path":478,"stem":479,"icon":438},"Lookups","\u002Fdevelopers\u002Fcore-api\u002Fadministration\u002Flookup","6.developers\u002F5.core-api\u002F09.administration\u002F10.lookup",{"title":481,"path":482,"stem":483,"icon":438},"Addresses","\u002Fdevelopers\u002Fcore-api\u002Fadministration\u002Faddress","6.developers\u002F5.core-api\u002F09.administration\u002F11.address",{"title":485,"path":486,"stem":487,"icon":438},"PDF generator","\u002Fdevelopers\u002Fcore-api\u002Fadministration\u002Fpdf-generator","6.developers\u002F5.core-api\u002F09.administration\u002F12.pdf-generator",{"id":489,"title":158,"body":490,"description":1076,"extension":1077,"links":1078,"meta":1079,"navigation":1080,"path":159,"reference":27,"seo":1081,"sitemap":1082,"stem":160,"__hash__":1083},"docs\u002F5.tutorials\u002F05.replenish-a-branch.md",{"type":491,"value":492,"toc":1070},"minimark",[493,499,503,508,532,536,636,640,723,729,1046,1050,1066],[494,495],"video-embed",{":placeholder":496,"id":497,"title":498},"true","_eQxomah-nA","Replenish a branch with a transfer order",[500,501,502],"p",{},"A transfer order moves stock between two of your own locations. In this tutorial a branch requests stock from the warehouse. The warehouse approves the request and sends the stock. The branch receives it.",[504,505,507],"h2",{"id":506},"what-you-need","What you need",[509,510,511,519,524],"ul",{},[512,513,514,515,518],"li",{},"Two locations: a warehouse with stock, and a branch. Read ",[516,517,144],"a",{"href":145},".",[512,520,521,522,518],{},"Stock of one product at the warehouse. Read ",[516,523,153],{"href":154},[512,525,526,527,531],{},"A permission to manage transfer orders. The owner and the ",[528,529,530],"code",{},"Manager"," role have it.",[504,533,535],{"id":534},"the-life-of-a-transfer-order","The life of a transfer order",[537,538,539,552],"table",{},[540,541,542],"thead",{},[543,544,545,549],"tr",{},[546,547,548],"th",{},"Status",[546,550,551],{},"Meaning",[553,554,555,566,576,586,596,606,616,626],"tbody",{},[543,556,557,563],{},[558,559,560],"td",{},[528,561,562],{},"Draft",[558,564,565],{},"The order is not ready. Use it for a move that the warehouse plans itself.",[543,567,568,573],{},[558,569,570],{},[528,571,572],{},"Requested",[558,574,575],{},"The receiving location asks for the stock.",[543,577,578,583],{},[558,579,580],{},[528,581,582],{},"Approved",[558,584,585],{},"The sending location accepts the request.",[543,587,588,593],{},[558,589,590],{},[528,591,592],{},"InTransit",[558,594,595],{},"The stock has left the sending location.",[543,597,598,603],{},[558,599,600],{},[528,601,602],{},"PartiallyReceived",[558,604,605],{},"Some of the stock has arrived.",[543,607,608,613],{},[558,609,610],{},[528,611,612],{},"Received",[558,614,615],{},"All the stock has arrived.",[543,617,618,623],{},[558,619,620],{},[528,621,622],{},"Rejected",[558,624,625],{},"The sending location refuses the request.",[543,627,628,633],{},[558,629,630],{},[528,631,632],{},"Cancelled",[558,634,635],{},"The order stops before dispatch.",[504,637,639],{"id":638},"steps","Steps",[638,641,643,648,653,657,666,672,676,679,701,704,708,715],{"level":642},"3",[644,645,647],"h3",{"id":646},"request-the-stock","Request the stock",[500,649,650,651,518],{},"As the branch, create a transfer order. Select the warehouse as the origin and the branch as the destination. Add the products and the quantities. Create the order with the status ",[528,652,572],{},[644,654,656],{"id":655},"approve-the-request","Approve the request",[500,658,659,660,662,663,665],{},"As the warehouse, open the request. If you have the stock, change the status to ",[528,661,582],{},". If you cannot send the stock, change the status to ",[528,664,622],{},". The business gets a notification when a transfer is rejected.",[667,668,669],"tip",{},[500,670,671],{},"If the warehouse does not have enough stock, create a purchase order and link it to the transfer order. The buyer can then see why the purchase exists, and the branch can see when the remainder arrives.",[644,673,675],{"id":674},"dispatch-the-stock","Dispatch the stock",[500,677,678],{},"When the truck leaves, dispatch the order. Miridia then:",[509,680,681,689,696],{},[512,682,683,684,688],{},"Adds a ",[685,686,687],"strong",{},"transfer out"," movement at the warehouse. The stock leaves the warehouse immediately.",[512,690,691,692,695],{},"Shows the quantity as ",[685,693,694],{},"in transit"," at the branch.",[512,697,698,699,518],{},"Changes the status to ",[528,700,592],{},[500,702,703],{},"Stock in transit is not available at either location. It also does not disappear from the business total.",[644,705,707],{"id":706},"receive-the-stock","Receive the stock",[500,709,710,711,714],{},"When the stock arrives, record a receipt at the branch. Enter the quantity that arrived for each product. Miridia adds a ",[685,712,713],{},"transfer in"," movement at the branch and reduces the in-transit quantity.",[500,716,717,718,720,721,518],{},"If only part of the stock arrives, the status changes to ",[528,719,602],{},", and the remainder stays in transit. When all the stock arrives, the status changes to ",[528,722,612],{},[724,725,726],"note",{},[500,727,728],{},"A transfer order moves stock at cost inside one business. If a franchisee that is a separate company buys stock from the head office, use a sales order instead. A sales order records the revenue and the cost correctly.",[730,731,733,787,943,976,1040],"collapsible",{"name":732},"API calls",[537,734,735,745],{},[540,736,737],{},[543,738,739,742],{},[546,740,741],{},"Action",[546,743,744],{},"Request",[553,746,747,757,767,777],{},[543,748,749,752],{},[558,750,751],{},"Create a transfer order",[558,753,754],{},[528,755,756],{},"POST \u002Fapi\u002Fv1\u002Ftransfer-orders",[543,758,759,762],{},[558,760,761],{},"Approve or reject",[558,763,764],{},[528,765,766],{},"PATCH \u002Fapi\u002Fv1\u002Ftransfer-orders\u002F{transferOrderId}",[543,768,769,772],{},[558,770,771],{},"Dispatch",[558,773,774],{},[528,775,776],{},"POST \u002Fapi\u002Fv1\u002Ftransfer-orders\u002F{transferOrderId}\u002Fdispatch",[543,778,779,782],{},[558,780,781],{},"Receive",[558,783,784],{},[528,785,786],{},"POST \u002Fapi\u002Fv1\u002Ftransfer-orders\u002F{transferOrderId}\u002Freceipts",[788,789,794],"pre",{"className":790,"code":791,"filename":756,"language":792,"meta":793,"style":793},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{\n  \"originLocationId\": \"\u003Cwarehouse-id>\",\n  \"destinationLocationId\": \"\u003Cbranch-id>\",\n  \"status\": \"Requested\",\n  \"items\": [\n    { \"productId\": \"\u003Cproduct-id>\", \"quantity\": 24 }\n  ]\n}\n","json","",[528,795,796,805,833,854,874,889,931,937],{"__ignoreMap":793},[797,798,801],"span",{"class":799,"line":800},"line",1,[797,802,804],{"class":803},"sMK4o","{\n",[797,806,808,811,815,818,821,824,828,830],{"class":799,"line":807},2,[797,809,810],{"class":803},"  \"",[797,812,814],{"class":813},"spNyl","originLocationId",[797,816,817],{"class":803},"\"",[797,819,820],{"class":803},":",[797,822,823],{"class":803}," \"",[797,825,827],{"class":826},"sfazB","\u003Cwarehouse-id>",[797,829,817],{"class":803},[797,831,832],{"class":803},",\n",[797,834,836,838,841,843,845,847,850,852],{"class":799,"line":835},3,[797,837,810],{"class":803},[797,839,840],{"class":813},"destinationLocationId",[797,842,817],{"class":803},[797,844,820],{"class":803},[797,846,823],{"class":803},[797,848,849],{"class":826},"\u003Cbranch-id>",[797,851,817],{"class":803},[797,853,832],{"class":803},[797,855,857,859,862,864,866,868,870,872],{"class":799,"line":856},4,[797,858,810],{"class":803},[797,860,861],{"class":813},"status",[797,863,817],{"class":803},[797,865,820],{"class":803},[797,867,823],{"class":803},[797,869,572],{"class":826},[797,871,817],{"class":803},[797,873,832],{"class":803},[797,875,877,879,882,884,886],{"class":799,"line":876},5,[797,878,810],{"class":803},[797,880,881],{"class":813},"items",[797,883,817],{"class":803},[797,885,820],{"class":803},[797,887,888],{"class":803}," [\n",[797,890,892,895,897,901,903,905,907,910,912,915,917,920,922,924,928],{"class":799,"line":891},6,[797,893,894],{"class":803},"    {",[797,896,823],{"class":803},[797,898,900],{"class":899},"sBMFI","productId",[797,902,817],{"class":803},[797,904,820],{"class":803},[797,906,823],{"class":803},[797,908,909],{"class":826},"\u003Cproduct-id>",[797,911,817],{"class":803},[797,913,914],{"class":803},",",[797,916,823],{"class":803},[797,918,919],{"class":899},"quantity",[797,921,817],{"class":803},[797,923,820],{"class":803},[797,925,927],{"class":926},"sbssI"," 24",[797,929,930],{"class":803}," }\n",[797,932,934],{"class":799,"line":933},7,[797,935,936],{"class":803},"  ]\n",[797,938,940],{"class":799,"line":939},8,[797,941,942],{"class":803},"}\n",[788,944,949],{"className":790,"code":945,"filename":766,"highlights":946,"language":792,"meta":948,"style":793},"{\n  \"status\": \"Approved\"\n}\n",[947],0,"[PATCH \u002Fapi\u002Fv1\u002Ftransfer-orders\u002F]",[528,950,951,955,972],{"__ignoreMap":793},[797,952,953],{"class":799,"line":800},[797,954,804],{"class":803},[797,956,957,959,961,963,965,967,969],{"class":799,"line":807},[797,958,810],{"class":803},[797,960,861],{"class":813},[797,962,817],{"class":803},[797,964,820],{"class":803},[797,966,823],{"class":803},[797,968,582],{"class":826},[797,970,971],{"class":803},"\"\n",[797,973,974],{"class":799,"line":835},[797,975,942],{"class":803},[788,977,981],{"className":790,"code":978,"filename":786,"highlights":979,"language":792,"meta":980,"style":793},"{\n  \"items\": [\n    { \"productId\": \"\u003Cproduct-id>\", \"quantityReceived\": 24 }\n  ]\n}\n",[947],"[POST \u002Fapi\u002Fv1\u002Ftransfer-orders\u002F\u002Freceipts]",[528,982,983,987,999,1032,1036],{"__ignoreMap":793},[797,984,985],{"class":799,"line":800},[797,986,804],{"class":803},[797,988,989,991,993,995,997],{"class":799,"line":807},[797,990,810],{"class":803},[797,992,881],{"class":813},[797,994,817],{"class":803},[797,996,820],{"class":803},[797,998,888],{"class":803},[797,1000,1001,1003,1005,1007,1009,1011,1013,1015,1017,1019,1021,1024,1026,1028,1030],{"class":799,"line":835},[797,1002,894],{"class":803},[797,1004,823],{"class":803},[797,1006,900],{"class":899},[797,1008,817],{"class":803},[797,1010,820],{"class":803},[797,1012,823],{"class":803},[797,1014,909],{"class":826},[797,1016,817],{"class":803},[797,1018,914],{"class":803},[797,1020,823],{"class":803},[797,1022,1023],{"class":899},"quantityReceived",[797,1025,817],{"class":803},[797,1027,820],{"class":803},[797,1029,927],{"class":926},[797,1031,930],{"class":803},[797,1033,1034],{"class":799,"line":856},[797,1035,936],{"class":803},[797,1037,1038],{"class":799,"line":876},[797,1039,942],{"class":803},[500,1041,1042,1043,518],{},"Read the ",[516,1044,1045],{"href":270},"Transfer orders reference",[504,1047,1049],{"id":1048},"next-steps","Next steps",[509,1051,1052,1057,1062],{},[512,1053,1054],{},[516,1055,1056],{"href":60},"Transfer orders guide",[512,1058,1059],{},[516,1060,1061],{"href":45},"Locations guide",[512,1063,1064],{},[516,1065,162],{"href":163},[1067,1068,1069],"style",{},"html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":793,"searchDepth":800,"depth":807,"links":1071},[1072,1073,1074,1075],{"id":506,"depth":807,"text":507},{"id":534,"depth":807,"text":535},{"id":638,"depth":807,"text":639},{"id":1048,"depth":807,"text":1049},"Request stock for a branch from a warehouse with a transfer order, then approve, dispatch, and receive it.","md",null,{},{"icon":62},{"title":158,"description":1076},{"loc":159},"RxUiX2aHeqTI6LEwtZlEiqZEP-3KsIvFAZAX8ad9eNU",[1085,1087],{"title":153,"path":154,"stem":155,"description":1086,"icon":156,"children":-1},"Create a supplier, order stock, and receive the stock in two deliveries. Then read the inventory ledger and the average cost.",{"title":162,"path":163,"stem":164,"description":1088,"icon":72,"children":-1},"Build a bill of materials with a scrap factor and a labour cost line, calculate its cost, and complete a work order that posts to inventory.",1790689638013]