Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /// <summary>
- ///
- /// </summary>
- /// <param name="sender"></param>
- /// <param name="e"></param>
- [FormDataFieldEventHandler(formDataFieldStr(SalesTable, SalesTable, AXMInvoicePostalAddress), FormDataFieldEventType::Modified)]
- public static void AXMInvoicePostalAddress_OnModified(FormDataObject sender, FormDataFieldEventArgs e)
- {
- FormDataSource salesTable_ds = sender.datasource();
- AXMSalesTableInvoicAddress invoiceAddress = salesTable_ds.cursor();
- SalesTable salesTable = SalesTable::find(invoiceAddress.SalesId);
- salesTable.selectForUpdate(true);
- salesTable.AXMInvoiceName = invoiceAddress.Address;
- ttsbegin;
- salesTable.update();
- ttscommit;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement