当前位置:网站首页>Business logic design of physical warehouse and virtual warehouse in middle inventory
Business logic design of physical warehouse and virtual warehouse in middle inventory
2022-06-23 06:45:00 【Koikoi123】
The concepts of real warehouse and virtual warehouse are aimed at the system development itself . Simply speaking , The warehouse for cost accounting can be called physical warehouse , Those that do not account for costs can be called virtual warehouses . Virtual warehouse is the main transition function in the system .
In the midrange system , Virtual warehouse is equal to the allocation pool of inventory , Inventory of individual items in the same warehouse group , Sum of physical inventory = The sum of empty warehouse inventory .
So in the middle stage inventory management of the mall , How to design the business logic of physical warehouse and virtual warehouse ? The following issues need to be considered :
One 、 How to control the sales inventory of each store ( Commodity function )

scene : Shicang a,b,c The initial inventory is 0, It needs to be a physical warehouse a,b,c All purchase 100, That is to say 3 Purchase receipt notices , The actual warehouses are a,b,c.
In the above scenario, how do virtual warehouses allocate inventory ? here , It needs to be used " Allocation pool allocation policy " Control the proportion of inventory entering the phantom warehouse .
hypothesis 3 Each purchase receipt notice puts the inventory into the virtual warehouse a, here , Shicang a,b,c There are 100 stock , Empty warehouse a Yes 300 stock .
The store x, The store y, The store z Sell goods at the same time , The store x Available allocation pool ranges : Empty warehouse a; The store y Available allocation pool ranges : Empty warehouse b, The store z Available allocation pool ranges : Empty warehouse c.
here , The inventory is in empty warehouse a, The store y And stores z What if there is nothing to sell ? Here you need to insert a description " Move warehouse " The necessity of , That is, inventory adjustment can be performed for virtual warehouses in the same warehouse group by warehouse transfer .
Suppose from the empty warehouse a, Move 50 Inventory to virtual warehouse b, Move 20 Inventory to virtual warehouse c, here , Empty warehouse a stock =230, Empty warehouse b stock =50, Empty warehouse c stock =20.
Does that mean the store x The saleable inventory is 230, The store y The saleable inventory is 50, The store z The saleable inventory is 20 Well ? But that's not the case , We need to develop an inventory synchronization strategy to control the amount of inventory synchronized from the middle office to each platform .
hypothesis , The store x, Empty warehouse a Synchronous scale =90%, Warning number =10, Reserved number =5, The number of synchronizations at this time =2300.9=207. After a period of sales , Empty warehouse a The inventory has been reduced to 10( That is, the set alert number is reached ), The number of synchronizations at this time =( Available inventory - Reserved number ) Synchronous scale =(10-5)*0.9=4.5, Deduct the decimal point , Synchronize platform inventory =4; When empty warehouse a Available =6 when , Number of syncs =(6-5)*0.9=0.9, Less than 1, Synchronize platform inventory =0.
Two 、 The corresponding relationship between real warehouse and virtual warehouse
There is not a one-to-one correspondence between real warehouse and virtual warehouse , An order is adapted to a virtual warehouse inventory , The delivery physical warehouse may be a physical warehouse with the ordered goods . For example, order to buy goods a, Shicang a Heshicang b All have commodities a Inventory of , The order is adapted to the virtual warehouse a, Shicang a Heshicang b It is possible to ship , The midrange needs an algorithm that can adapt to the optimal ( The distance is optimal , The logistics cost is the best ) Physical warehouse delivery of .
3、 ... and 、 Virtual warehouse inventory transfer
If , The store x Good sales , Empty warehouse can be a,b,c Set to the available allocation pool range of the store profile , Set up shop x, Empty warehouse b Synchronous scale =90%, Warning number =5, Reserved number =2, Set up shop x, Empty warehouse c Synchronous scale =100%, Warning number =2, Reserved number =1, Number of syncs =2300.9+500.9+20*1=272.
give an example , Now open a new store : The store p, Available allocation pool ranges : Empty warehouse e. here , Empty warehouse e, Inventory is 0, What should the company do if it no longer purchases ? Here we need to talk about allocation , This is a document that transfers inventory from one physical warehouse to another . This needs to be clear 4 A little bit : Transfer out the physical warehouse 、 Transfer to the physical warehouse 、 Call out the empty warehouse , And allocation strategies ( Allocation pool allocation policy ).
Four 、 Circulation of goods inventory
For the circulation of goods , The actual warehouse of the middle stage = Shipping store , The purchase action is in the store system ( Most are new retail systems ).
Scenario assumption , Shicang a= store a, Shicang b= store b, Shicang c= store c
Store inventory is synchronized to the middle office , branch 2 Types : Full and incremental . Total quantity : Shicang a stock = Synchronize inventory ; The incremental : Shicang a stock = Shicang a Current stock + Synchronize inventory . give an example :
Current time physical warehouse a In stock 0, Full synchronized inventory 100, After synchronization , Shicang a In stock 100;
Current time physical warehouse a In stock 100, Incremental synchronization inventory 50, After synchronization , Shicang a In stock 100+50=150; Similarly, the incremental synchronized inventory is -50, After synchronization , Shicang a In stock 150+(-50)=150-50=100.
边栏推荐
猜你喜欢
随机推荐
如何迁移virtualbox 的虚拟机到hype-v
Leetcode notes: Weekly contest 298
快速认识 WebAssembly
js创建数组(元素都是对象)
JS to create an array (all elements are objects)
idea安装 CloudToolkit 插件
haas506 2.0开发教程-hota(仅支持2.2以上版本)
关于监督
聚焦智慧城市,华为携手中科星图共同开拓数字化新蓝海
VS2013 FFMPEG环境配置及常见错误处理
什么是客户体验自动化?
C# DPI适配问题
Docker practice - redis cluster deployment and micro service deployment project
Wechat applet - Global Monitoring of certain attribute changes of GlobalData, such as monitoring of network state switching
How to view native IP
Add IPAD control function into shairplay
30 data visualization tips that can not be ignored
SAP execution transaction code mrrl error -no message was found for partner 100065-
Problem: when the attribute in the data object (defined data) in the access component is also the attribute in the object object, an error is reported
Vs+qt project transferred to QT Creator








