This commit is contained in:
@@ -341,13 +341,54 @@ todo: many biz objects are not using new PUT methodology
|
||||
|
||||
CURRENTLY DOING:
|
||||
|
||||
todo: Move back to original linked tax codes with hybrid history preservation system
|
||||
BACKEND:
|
||||
- Tax codes
|
||||
are locked from edit all fields involved in calculations only (others ok like name etc)
|
||||
once they are selected anywhere and Active=false is prevented if they are a default for global or contract
|
||||
Validation code must check before edit if in use in any final records like woitem* or contract or PO or Global sets
|
||||
REcord must be sent to clietn with inuse flag set so ui can selectively allow or not edit fields to replicate server validation
|
||||
- Service rates
|
||||
Are locked from edit all fields involved in calculations only (others ok like name) once they are selected anywhere
|
||||
validation must check before edit if used on contract, woitem*, anything that references them
|
||||
REcord must be sent to clietn with inuse flag set so ui can selectively allow or not edit fields that would pass validation
|
||||
|
||||
- FORM FIELD DEFINITIONS
|
||||
Edit to remove fields and add manual override field back
|
||||
|
||||
- Workorder
|
||||
TAXES
|
||||
remove all the code that preserves the tax info like name and values and move back to the single ID
|
||||
update the calcs code to fetch the tax code to apply it
|
||||
|
||||
|
||||
put back the tax code viz field
|
||||
update the FormFieldReference to remove the tax code shit
|
||||
|
||||
RATES
|
||||
Rates are fixed now so no need to store redundantly except user can override so...?
|
||||
How about a single override field that is null by default and if an entry is made that takes over from the default rate
|
||||
To clear it they simply empty the field and if null the viz calcs will use the rate price instead
|
||||
|
||||
CALCS / VIZ
|
||||
Calcs are now all Viz fields populated on the fly and not stored in the wo
|
||||
Override field is used if non-null otherwise the rate is pulled and used for the calc
|
||||
|
||||
DOCS
|
||||
Document rate locking (new for v8) and tax code locking (not new).
|
||||
|
||||
FRONT:
|
||||
Revert back to viz fields and remove snapshotted fields
|
||||
switch back to simple picklist for taxes
|
||||
Expose the override field
|
||||
|
||||
|
||||
HYBRID - mostly fixed with a few things snapshotted that are likely to change regularly
|
||||
Impermanent things:
|
||||
prices of things
|
||||
addresses
|
||||
|
||||
todo: Tax code decoupling from wo so can delete separately
|
||||
replace tax code drop down with a composite control instead that shows as text with an edit button when a taxname is set and just a dropdown when it's not set (null)
|
||||
|
||||
todo: once settled needs to flow this back to the po and other tax code items.
|
||||
change to composite control
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
/////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
/* XXXeslint-disable */
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
//Note: not perfect detection of lost focus
|
||||
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user