Announcements
No record found.
Hi all,
I will be adding new fields to the PurchLine table and i need these fields to be updated in the Purchase order versions.
Any suggestion would help.
Thanks,
Rusty
*This post is locked for comments
Hi Rusty,
I used this blog post here to good effect. Basically there are 'line' equivalent queries, tables and views to add in your new field(s) so they get stored as part of the purchase order confirmation journals.
http://theinfolog.com/adding-fields-to-purchpurchaseorder-purchase-order-confirmation/
In addition to this post I found I needed to update the Map PurchTableMap (i,.e. PurchLineMap for your example).
Also, when you do your BP compiles keep running them as you fix up the classes as more keep on dropping out that you need to fix (for me I had to add methods to the following classes to clear all of the BP warnings: AxPurchTable, AxPurchTableAllVersions, TMSPurchOrder_PurchTable, PurchPurchReq_PurchTableAllVersions)
Let me know if you need anything else on this.
Mike
Hi,
Record get created in table PurchTableVersion whenever a purchase order is either confirmed or reconfirmed or approved or reapproved.
Record in PurchTableVersion table gets created in method createNewVersion of class VersioningPurchaseOrder. So, if you have custom fields on PurchTable and want them to get defaulted include your code here.
Record in PurchLineHistory(i.e Purch line versions) table gets created in method archivePurchLine of class VersioningPurchaseOrder. So, if you have custom fields on PurchLine and want them to get defaulted include your code here. Also, you need to create the fieldlist in the macro VersioningFieldLists.
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!
We are thrilled to have these Champions in our Community!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Basit 1
GL-01081504-0 1
Roya 1