[Extensibility Enhancements] Table 36 "Sales Header" - OnAfterCopySellToCustomerAddressFieldsFromCustomer
In Table 36 "Sales Header", at the end of the procedure CopySellToCustomerAddressFieldsFromCustomer, we use the event publisher OnAfterCopySellToCustomerAddressFieldsFromCustomer. But we need to have access to the standard global var SkipBillToContact, and to a global variable of the Table Extension of "Sales Header". To do so, we need to have the integration event OnAfterCopySellToCustomerAddressFieldsFromCustomer argument GlobalVarAccess set to TRUE, like this :

Do you think it could be possible ?
Thank you for your work.
Hi @Magicrevette . We do not provide GlobalVarAccess. I can add "setter"/"getter" functions to manage the variable or add an event with this variable as parameter. Please let me know how can I help you here.
Ok, so we would like to have the global variable SkipBillToContact as a parameter of the event OnAfterCopySellToCustomerAddressFieldsFromCustomer please, in order to modify this variable. Like this :


We will call the variable of our table extension from our codeunit with a procedure.
Thank you.
Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.