This commit is contained in:
2021-06-01 20:32:10 +00:00
parent 4e92ab0703
commit 7be3da60f7

View File

@@ -353,12 +353,27 @@ todo: many biz objects are not using new PUT methodology
CURRENTLY DOING: workorder round two electric boogaloo
basics first then increasingly esoteric features
BUGS FIRST then features
Do these things, check each one against the list of cases here too as there is some overlap of items
todo: strip all *viz fields from object before sending over the wire from client to server
Setting their value to undefined stops them being sent so do that, but remember they then need to be updated on the return record
See the header save for working example, others will be easier since they set *all* fields on return unlike header which is a bastardized one
todo: why does server send isdirty to client, isn't that just a client thing?
Client can set it on initial fetch
todo: LoanUnit edit form add "*Cost" fields to UI
todo: part request
link to open po, delete button in grid? both?
needs custom button template for po column
delete / undelete
po opener
todo: actual inventory (see below)
todo: service bank (see below)
todo: notification (see below)
TODO: V7 features on wo I haven't coded yet
WOItem selected
@@ -376,32 +391,29 @@ TODO: V7 features on wo I haven't coded yet
Purchased Date: 2005-06-01 12:00 AM
Receipt Number: 46543545
Part
Generate unit from selected part (already a feature, didn't even realize)
UPC select by UPC
Generate unit from selected part (already a v7 feature, didn't even realize)
UPC select by UPC (just confirm this)
ServiceBank
any of it
todo: DEFAULT TIME SPAN / AUTO SET workorderitemlabor / scheduled user
HOW IT SHOULD WORK IN V8
Existing
update quantity when dates change or update stop date when quantity changes to match
no consideration for global default, once it's made that shit doesn't apply
NEW
No auto date set on new, just leave empty
(ONLY IF GLOBAL DEFAULT QTY) enter start date when stop date is null then it will add global default to start and set stop and qty
(ONLY IF GLOBAL DEFAULT QTY) enter stop date when start date is null then it will back calc and set start and qty based on global default
If no global default then it acts like existing and updates qty or stop date when qty changes (if there are dates to go on)
todo: workorderitemscheduled user new record if not today date chosen for start should default stop to global time (not sure about this feature from v7 seems impractical)
todo: Outside services list section header only one with word "List" in it instead of plural form outside services
todo: workorderitemlabor new record stop date sb +1 hour
todo: LoanUnit edit form add "*Cost" fields to UI
todo: part request
link to open po, delete button in grid? both?
needs custom button template for po column
delete / undelete
po opener
todo: strip all *viz fields from object before sending over the wire from client to server
Setting their value to undefined stops them being sent so do that, but remember they then need to be updated on the return record
See the header save for working example, others will be easier since they set *all* fields on return unlike header which is a bastardized one
todo: why does server send isdirty to client, isn't that just a client thing?
Client can set it on initial fetch
todo: seeder stock data / translations: loanunit "Units" have extraneous "rate" in them, i.e. "Hourly rate", sb just "Hourly"
todo: workorder main data lists, flesh out, finish links from related objects