This commit is contained in:
@@ -42,6 +42,20 @@ todo: WHEN HAVE WORKORDER FORM customer popup notes need to pop pop pop, forgot
|
||||
However, I also find that incredibly annoying but I guess that's the point :)
|
||||
|
||||
## SERVER MISC ITEMS
|
||||
todo: child collection items error / rule / customization handling
|
||||
Currently not supported but should be when get to wo it will be a beast without this
|
||||
users will need to hide child items, set required on them and see errors from server on them
|
||||
RESOLUTION:
|
||||
Add parent collection name to FormFieldReference for child items as a new thing
|
||||
Update RequiredFieldsValidator to use parent collection name to step through children and flag errors to include parent
|
||||
e.g in validation error field name could be "poitems.vendorpartnumber:3" to indicate poitems collection 4th row has error in vendorpartnumber
|
||||
Update client form server errors handler to handle indexed child collection like that and report error on row and in popup edit form
|
||||
Update client form to display error in data table read only display somehow (can't be hover due to mobile so other way)
|
||||
maybe just red row to indicate has errors with some non color secondary indicator, they open and the edit form shows the exact error on the field
|
||||
Update form customization form at client to group together the child collection items and maybe indicate the collection name above or in a group
|
||||
so all poitem fields grouped in UI apart from header form fields
|
||||
Update all child form collections, use regular biz rule error from server handling but use the compound key name for the item e.g. "poitem.vendorpartnumber"
|
||||
|
||||
todo: tax codes, taxable objects
|
||||
Biz rules updated to prevent tax value changes to any of the following fields once it's been used on any item that has tax codes
|
||||
name, taxa, taxb, taxontax
|
||||
|
||||
@@ -417,7 +417,7 @@
|
||||
></gz-pick-list>
|
||||
</v-col>
|
||||
|
||||
<v-col cols="12" sm="6" lg="4" xl="3">
|
||||
<v-col v-if="form().showMe(this, 'PurchaseOrderItemVendorPartNumber')" cols="12" sm="6" lg="4" xl="3">
|
||||
<v-text-field
|
||||
v-model="obj.items[editPoItemIndex].vendorPartNumber"
|
||||
:readonly="formState.readOnly"
|
||||
|
||||
Reference in New Issue
Block a user