diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index c2e99aae..cc22d6e4 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -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 diff --git a/ayanova/src/views/inv-purchase-order.vue b/ayanova/src/views/inv-purchase-order.vue index a6e01fa6..3a03303c 100644 --- a/ayanova/src/views/inv-purchase-order.vue +++ b/ayanova/src/views/inv-purchase-order.vue @@ -417,7 +417,7 @@ > - +