Announcements
I have a field called ItemType that I added to the PurchParmLine table, the field must also be added in the PurchEditLines form and must automatically take the value from the PurhLine table. I tried to put the code on the initFromPurchLine method on the PurchParmLine table and on the initFromPurchLine method on the VendDocumetLineMap, but it is not displayed. I created a relationship with PurchLine on the PurchParmLine table, but without result. The field is not even populated on the table PurchParmLine.
Hi Pavel Ioana,
Have you debugged the code and find out whether debugger is hitting in initFromPurchLine method.
Thanks,
Girish S.
I used the debugger and it doesn't fit into any of the methods and I really don't know where I should place the code
There is class named "PurchFormLetterParmData" - createParmLine(Method name) - Try to populate your custom fields in this method.
Also add the debugger point in the method and check whether the debugger is hitting.
I tried to populate the field, but apparently the field on the PurchParmLine does not receive the value and says that the field does not exist even though it is added
Field does not exist error indicates that new field is not synced to DB. Try doing AOT synchronization and check.
Also on the method createParmLine you are getting PurchLine as a buffer as a method parameter, So you can directly use that buffer to assign values to your custom fields in PurchParmLine table.
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.
Congratulations to our 2026 Super Stars!
Thanks to all of our 2025 Community Spotlight stars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
André Arnaud de Cal... 673 Super User 2026 Season 1
Abhilash Warrier 280 Super User 2026 Season 1
Martin Dráb 213 Most Valuable Professional