This commit is contained in:
2021-01-25 19:11:14 +00:00
parent 99dc000cbf
commit d8adf03417
2 changed files with 27 additions and 15 deletions

View File

@@ -5,8 +5,10 @@
MISC ITEMS THAT CAME UP
todo: GetErrorBoxErrors is not translating due to async / sync mix.
proposal is to make a seperate async method for general error box errors or translate earlier in the actual fetch api method call return when error found
todo: Part form menu has links to inventory list filtered for that part not implemented yet but could be now
make sure it checks if useinvenotry is in effect
todo: every form all fields error collection is set to "servererrors" but really its' any kind of validation error local or server so not sure why ti's named that
todo: userbiz validate can delete has funky error
@@ -164,22 +166,20 @@ todo: server boot up message should show the port it's listening on if possible
CURRENTLY DOING:
UseInventory global setting, what to do about that
my initial thought is get rid of it and just default to always using inventory but inventory can't go negative so it would need to
adjust automatically or something. Maybe a new part could have an initial inventory created for it?
Not sure but needs some thought early here
See what v7 used to do about it
Inventory related objects that need to be ported:
XPart
XPartSerial
XPartWarehouse
PartInventory (was "PartByWarehouseInventory")
XPartInventory (was "PartByWarehouseInventory")
transformed into a inventory transaction ledger as per case 3847
PartRestock
contains partid/warehouseid/minimumstock level
PartInventoryAdjustment
accessible from the Part form as it's own edit window
no list of all
only when useinventory
XPartInventoryAdjustment
XPartAssembly
PurchaseOrder

View File

@@ -803,12 +803,24 @@ function generateMenu(vm) {
//---- SHOW ALL ---
//MIGRATE_OUTSTANDING part inventory link from part form
menuOptions.menuItems.push({
title: "PartByWarehouseInventoryList",
icon: "$ayiPallet",
key: FORM_KEY + ":TODO-PartByWareHouseInventoryLinkForThisPart",
vm: vm
});
if (window.$gz.store.state.globalSettings.useInventory) {
menuOptions.menuItems.push({
title: "PartByWarehouseInventoryList",
icon: "$ayiPallet",
key: FORM_KEY + ":TODO-PartByWareHouseInventoryLinkForThisPart",
vm: vm
});
//MIGRATE_OUTSTANDING part inventory transactions list for this part
menuOptions.menuItems.push({
title: "PartInventoryTransactionList",
icon: "$ayiDolly",
key:
FORM_KEY +
":TODO-PartByWareHouseInventoryTransactionListLinkForThisPart",
vm: vm
});
}
if (vm.obj.id != null && vm.obj.id != 0) {
menuOptions.menuItems.push({