This commit is contained in:
2021-08-16 19:42:43 +00:00
parent 357a9469b6
commit f170427f9c

View File

@@ -524,31 +524,11 @@ todo:2 many biz objects are not using new PUT methodology
########################################################################################################################
CURRENTLY DOING: PO xfer validation & completion
poitem in v8 no space for wo request number??
the bit in workorderitempartrequest to fixup the poitems with the request id
set PO seed number to new max
Inventory handling ideas:
maybe do use inventory, but start out with crazy high numbers for each part
i.e. iterate all v8 parts after export and set each to a huge opening inventory adjustment value like the max value possible in v8?
do the export with inventory on
at end of export fixup inventory to balance with v7
this way part requests that are open make sense and workorders still consume inventory properly
Inventory
I have some more work to do with inventory, for now to facilitate migrate it just puts 1 billion in stock for every part migrated
I will keep the 1 billion bit and be adding code to do a final inventory adjustment at the end of the migrate to bring the v8 balances
into agreement with the v7 balances. (some tricky work needed there due to the vast differences in how inventory works so leaving that for now)
If useinventory is off in v7 it will just ignore all inventory, if it's on it will create an opening balance of 1billion for each part and deduct from each part as it migrates workorders
part requests do not migrate the purchase order id link if there was one in v7; not sure how I'm going to handle this, i was hoping to leave out importing po's but I might just have to anyway
ultimately I can fix up the inventory balance at the end no matter what gets imported, it's just that v8 takes all inventory affecting things very seriously so it's going to
leave a lot of artifacts in the db if it has to adjust and add and remove tons of stuff which I was hoping to avoid. Will have to give it a think.
CURRENTLY DOING:
inventory balance fixup at end of migrate
part assemblies migrate?
po workorderitempart request selection dialog missing stubbed out as todo
where you select part requests that are open to order
meter reading