ERP encountered business logic problems. This post was last edited by u012335455 at 2014-06-1806: 49: 58. I am working on an erp system and encountered a problem. For example, table A has the id1 & nbsp; cname & nbsp; necklace & nbsp; number & nbsp; 3 & nbsp; iseku & nbsp; 0 what we need to do is to solve the business logic problems in each order ERP.
This post was last edited by u012335455 at 06:49:58
I am working on an erp system and have a problem.
For example, table A has fields.
Id1 cname necklace number 3 iseku 0
What we need to do is to warehouse each quantity of each order to a different serial number to track the trend of each cargo,
Then this field will loop out three rows in the same way on the page and assign them a warehouse picking serial number respectively. when I click the warehouse picking button in the first row, iseku will be updated to 1 to indicate warehouse picking. Then the following two statuses are changed to warehouse picking. then, the two rows below won't be able to get out of the warehouse, and the warehouse picking will reduce the number of other inventory tables, the number 3 here will not be reduced.
To put it bluntly, it is how to mark each number of records in a row separately !! Urgent
------ Solution --------------------
Iseku can be counted as 0, 1, 2, 3, 4 ....
Positions of items in circulation
------ Solution --------------------
Table A id cname number iseku status time
1 mobile phone 5 warehouse receiving 0 xx
1 mobile phone 2 warehouse picking 1 xx
1 mobile phone 1 warehouse picking 1 xx
1 mobile phone 1 transfer 2 xx
Status = 0 indicates warehouse receiving status. status = 1 indicates warehouse picking.
If there is a transfer, you only need to add a status label to the status
------ Solution --------------------
Obviously, you still need a table organized by order, and the logistics status is recorded in it.
Your inventory table (table A) only records the inventory quantity.