I am trying to show few custom fields of InvenTable into line grid of PurchTable form but I unable to do that as InventTable is not used as a data source in that form. Can anyone please let me know how can I do that without using display methods.
I have tried your suggestion but when I add a new line in purchLine and save the record, it shows the validation of two fields of InventTable which are Product and Item to be filled in. These fields are mandatory at table level and I have override the validateWrite and write at datasource level.
What to do with this validation? I cannot override at table level methods as it will get affected everywhere then.
How to show fields of InventTable inside line grid of PurchTable form?
If you don't want to use display method, you must add a datasource by yourself - in an extension. It needs to be joined to PurchLine, and you'll need to override validateWrite() and write() to prevent saving of InventTable when saving PurchLine.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.