This commit is contained in:
2021-06-30 20:27:35 +00:00
parent a5d443eade
commit bca6dbce38

View File

@@ -420,36 +420,21 @@ todo: many biz objects are not using new PUT methodology
CURRENTLY DOING:
CURRENTLY DOING: template replacement additions
todo: template replacement changes
Mass delete
change Mark for deletion trans key SoftDelete to "Mark selected for deletion"
add trans key SoftDeleteAll "Mark *all* for deletion"
add code at every level of workorder where there is a mark all to implement mark all for deletion
Duplicate created reset code add routine to reset all loaner and workorderitemparts cost and listprice to zeros
they will be filled in by server on first save, so this way it acts like newly added records
Dates
for now, up to user to manually remove or reset dates, we don't know what the user will want to duplicate for, maybe it's to replace an identical workorder for some reason
so we shouldn't mess with it too much automatically
Can always add date related features later but for now TTM
todo: purchase order dupe code at server is a bit sus.
it has a todo to set qty to zero but doesn't for some reason so it effectively
is affecting inventory on duplicate??
Look into it.
IDEALLY REPLACE WITH LOCAL COPY LIKE WO
todo: workorder "template" replacement via duplicate requires some changes:
V7 notes:
has option to update part pricing to current levels
templates only support the following items
Unit, scheduled users, task, parts, labor, travel
it creates dated records with no dates
todo: work order remove all option - workorder duplicate brought up that it would be handy to be able to remove *all* of a grandchild collection
e.g. Scheduled users has a "Mark All for deletion" menu option to quickly remove a bunch
See item immediately below about this
maybe it's a menu option at top to just quickly remove all labor or whatever if it's a duplicate?
todo: work order reset dates - for duplicate scenario and to replace templates
some kind of option that changes all dates to move them forward or center around a date
might need to capture a created date in original wo
then can use that date to move all other dates relatively speaking
Not sure about this one, but it will be an issue
see how templates work in v7 as an idea
if they don't do labor and parts then having the ability to remove all parts or all labor from a work order would be the dandiest way to resolve this
so users can duplicate than slice out quickly the bits they don't want and bob's your lobster!!!
todo: how to directly open a workorder quickly when you know the wo number??
@@ -1290,13 +1275,17 @@ Build 111
- Notification subscription list now with more detailed info to disambiguate similar subscriptions that vary only in small details
- Duplicate command now duplicates locally into a new unsaved copy of the object rather than triggering a server call to duplicate
This covers all objects with the exception of the following which still need to duplicate at server:
translation, purchase order
- Duplicate command now duplicates locally at browser client into a new unsaved copy of the object rather than triggering a server call to duplicate and save
This covers all objects with the exception of Translation which still need to duplicate at server due to it's structure
- Workorder can now be duplicated, all items are copied identically except:
part requests which are not copied into a new unsaved workorder (just like other objects)
prices which are set on new records by server at time of save to snapshot the current price:
workorder item part
loaner
- Workorder descendant collections now have a mark all for deletion option to quickly remove an entire collection to facilitate Duplicate in v8 as replacement of v7 template feature
- Workorder can now be duplicated, all items are copied identically except part requests which are not copied into a new unsaved workorder (just like other objects)
future features to be added before release to make duplicate work as a complete replacement for the
v7 Templates feature (mass remove sections at a time in addition to individual delete and zero out dates, etc)
- User / Custom contact on create / duplicate now allows entry of new user options before first User save rather than previous behaviour of having to save new record first then edit and save user options