Good Morning,
I have added one field to salestable_extension table
i want to flow it to salesparmtable.
There is one method in Salesparmtable - InitfromSalesTable()
I want to write code in the above method.
What should be done in that case.
Copying event handler is the solution and in that pre or post should be used?
Please show some light on this.
Regards.
Have a great day.
*This post is locked for comments
Thanks for your kind reply.
I will make a try and let you know.
Regards.
Have a great day.
1. Yes
2. Please see this example:
[ExtensionOf[tableStr(SalesParmTable))] final class MySalesParmTable_Extension // Remember to include your prefix in the naming to avoid conflicts with standard objects, isv solutions and so on { public void initFromSalesTable(SalesTable _salesTable) { next initFromSalesTable(_salesTable); this.MyField = _salesTable.MyField; } }
Hi,
Thanks for your reply.
1. Post event handler - If i do so, if i copy paste handler and paste in class then in that copied handler method i will get args right.. In that which record will be present.
Salestable or Salesparmtable record.
2.Chain of command - can you give some example .
Regards.
Have a great day.
Yes, you can use
- a post event handler
- or Chain of Command and add your logic after the "next" call.
Experts please reply.
André Arnaud de Cal...
292,111
Super User 2025 Season 1
Martin Dráb
230,934
Most Valuable Professional
nmaenpaa
101,156