Notifications
Announcements
No record found.
I have added a field in the VendTable table that will also be in the PurchTable form, what should I do to automatically display the information in the form and make the field non-editable. It's like the address field. I tried to use the initFromVendTable method, but to no avail.
Hi Pavel Ioana,
What value should be shown on the custom field you created?
Thanks,
Girish S.
The field added to the VendTable is ExternalAccount and is of string type
The information from the External Account field on the VendTable must be transferred to the External Account field on the PurchTable.
From which table you will get ExternalAccount value?
Can you show us your code?
Girish S/
The user will enter the value in the External Account field in Vendors, and the same information that the user enters for the Vendor must also be displayed in the External Account field on Purchase Orders.
I tried to put this code on the initFromVendTable method on the PurchTable table, but I don't know if it is correct.
_vendTable.PI_ExternalAccount=this.PI_ExternalAccount;
In the PurchTable there is a method named initFromVendTableIL. On the same method they have got the vendTable buffer. You can use that buffer to assign ExternalAccount values from VendTable to PurchTable.
It's done, thanks!
If it's solved your please mark it as verified. So, others can make use of it. It's done by clicking Did this answer your question? > Yes on the particular reply.
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Abhilash Warrier 669 Super User 2025 Season 2
André Arnaud de Cal... 449 Super User 2025 Season 2
Martin Dráb 384 Most Valuable Professional