Advertisement
Guest User

Untitled

a guest
Nov 22nd, 2019
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.73 KB | None | 0 0
  1. [ExtensionOf(formDataSourceStr(SalesTable, AxmInvoiceAddress))]
  2. final class SalesTable_AxmForm_Fds_AxmInvoiceAddress_Extension
  3. {
  4.      void  init()
  5.     {
  6.         FormDataSource fds = this as FormDataSource;
  7.         next init();
  8.         FormRun fr = fds.formRun();
  9.         Query query = this.query();
  10.         SalesTable SalesTable = element.args().record() as SalesTable;
  11.         QueryBuildDataSource gbdsAxmInvoiceAddress = query.dataSourceName(formDataSourceStr(SalesTable, AxmInvoiceAddress));
  12.         gbdsAxmInvoiceAddress.clearDynalinks();
  13.         gbdsAxmInvoiceAddress.addDynalink(fieldNum(LogisticsPostalAddress, RecId), SalesTable, fieldNum(SalesTable, AXMInvoicePostalAddress));
  14.         this.executeQuery();
  15.        
  16.     }
  17.  
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement