List of Events

The followings are the list of events and triggers available in LS Express.

 

Object Type Object ID Object Name Procedure Type Procedure Name Parameter Remark
Codeunit 70014000 "LSE Post Utilities" Local OnBeforePostPayments (var SalesHeader: Record "Sales Header"; var GenJnlPostLine: Codeunit "Gen. Jnl.-Post Line"; SalesShptHdrNo: Code[20]; RetRcpHdrNo: Code[20]; SalesInvHdrNo: Code[20]; SalesCrMemoHdrNo: Code[20]; FromBackgroundPosting: Boolean; var IsHandled: Boolean)  
Codeunit 70014000 "LSE Post Utilities" Local OnAfterPostPayments (var SalesHeader: Record "Sales Header"; var GenJnlPostLine: Codeunit "Gen. Jnl.-Post Line"; SalesShptHdrNo: Code[20]; RetRcpHdrNo: Code[20]; SalesInvHdrNo: Code[20]; SalesCrMemoHdrNo: Code[20])  
Codeunit 70014000 "LSE Post Utilities" Local OnBeforeFindPaymentEntries (var SalesHeader: Record "Sales Header"; var LSExprSalesPaymentLine: Record "LSE Sales Payment Line"; var IsHandled: Boolean; var FoundRecords: Boolean)  
Codeunit 70014000 "LSE Post Utilities" Local OnAfterFindPaymentEntries (var SalesHeader: Record "Sales Header"; var LSExprSalesPaymentLine: Record "LSE Sales Payment Line")  
Codeunit 70014000 "LSE Post Utilities" Local OnBeforeValidateItemInput (var SalesHeader: Record "Sales Header"; XSalesHeader: Record "Sales Header"; Inputvalue: Text; var IsHandled: Boolean)  
Codeunit 70014000 "LSE Post Utilities" Local OnAfterPostGenJnlLine (GLEntryNo: Integer; GenJnlLine: Record "Gen. Journal Line")  
Codeunit 70014000 "LSE Post Utilities" Local OnBeforeSetAccountsAndApplyToDocNo (var PaymentMethod: Record "Payment Method"; var SalesHeader: Record "Sales Header"; var LSExprSalesPaymentLine: Record "LSE Sales Payment Line"; var GenJnlLine: Record "Gen. Journal Line"; DocType: Enum Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Document Type"; DocNo: Code[20]; var IsHandled: Boolean)  
Codeunit 70014000 "LSE Post Utilities" Local OnAfterSetAccountsAndApplyToDocNo (var PaymentMethod: Record "Payment Method"; var SalesHeader: Record "Sales Header"; var LSExprSalesPaymentLine: Record "LSE Sales Payment Line"; var GenJnlLine: Record "Gen. Journal Line"; DocType: Enum Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Document Type"; DocNo: Code[20])  
Codeunit 70014001 "LSE Payment Utilities" Local OnBeforeInsertSalesPaymentLineOfInsertPaymentLine (var SalesPaymentLine: Record "LSE Sales Payment Line")  
Codeunit 70014001 "LSE Payment Utilities" Local OnBeforeInsertEFTEntryOnInsertPaymentLine (SalesHeader: Record "Sales Header"; PaymentMethod: Record "LSE Payment Method"; PaymentAmount: Decimal; var NewLSExprSalesPaymentLine: Record "LSE Sales Payment Line"; var IsHandled: Boolean)  
Codeunit 70014001 "LSE Payment Utilities" Local OnAfterCalculateSalesBalance (SalesHeader: Record "Sales Header"; var SalesTotal: Decimal; var CurrentBalance: Decimal)  
Codeunit 70014001 "LSE Payment Utilities" Local OnAfterInsertSalesPaymentLine var SalesPaymentLine: Record "LSE Sales Payment Line"  
Codeunit 70014002 "LSE Sales Utilities" Local OnBeforeValidateAndInsertSalesLine (var SalesLine: Record "Sales Line"; var IsHandled: Boolean)  
Codeunit 70014002 "LSE Sales Utilities" Local OnInitializeAddItemToSalesLine (SalesDocType: Enum Microsoft.Sales.Document."Sales Document Type"; SalesDocNo: Code[20]; SalesLineNo: Integer; StoreID: Code[20]; StaffID: Code[20]; var Item: Record Item; ItemVariantCode: Code[20]; var SalesLine: Record "Sales Line"; var IsHandled: Boolean)  
Codeunit 70014002 "LSE Sales Utilities" Internal OnAfterItemAdded (var SalesHeader: Record "Sales Header")  
Codeunit 70014002 "LSE Sales Utilities" Local OnBeforeCreateCreditMemoFromInvoice (SalesInvoiceHeader: Record "Sales Invoice Header"; var SalesHeader: Record "Sales Header"; var IsHandled: Boolean)  
Codeunit 70014002 "LSE Sales Utilities" Local OnAfterCreateCreditMemoFromInvoice (SalesInvoiceHeader: Record "Sales Invoice Header"; var SalesHeader: Record "Sales Header")  
Codeunit 70014002 "LSE Sales Utilities" Local OnAfterInsertTransferPaymentLines (var SalesInvoiceHeader: Record "Sales Invoice Header"; var SalesHeader: Record "Sales Header"; SalesPaymentLine: Record "LSE Sales Payment Line")  
Codeunit 70014005 "LSE Actions" Local OnBeforePaymentMethodSelected (var SalesHeader: Record "Sales Header")  
Codeunit 70014005 "LSE Actions" Local OnBeforeRunModalOnExactPaymentV2 (var CurrSalesHeader: Record "Sales Header"; PaymentMethod: Record "LSE Payment Method")  
Codeunit 70014005 "LSE Actions" Local OnBeforePickSelectedCustomer (var SalesHeader: Record "Sales Header"; Customer: Record Customer; var IsHandled: Boolean)  
Codeunit 70014005 "LSE Actions" Local OnAfterPickSelectedCustomer (var SalesHeader: Record "Sales Header")  
Codeunit 70014007 "LSE Report Utilities" Local OnBeforePrintInvoicePOSSlip (var SalesInvoiceHeader: Record "Sales Invoice Header"; var IsHandled: Boolean)  
Codeunit 70014007 "LSE Report Utilities" Local OnBeforePrintCreditMemoPOSSlip (var SalesCreditMemoHeader: Record "Sales Cr.Memo Header"; var IsHandled: Boolean)  
Codeunit 70014008 "LSE Post Actions" Local OnAfterPaymentMethodSelected OnAfterPaymentMethodSelected(Rec: Record "LSE Payment Method"; var SalesHeader: Record "Sales Header")  
Codeunit 70014009 "LSE Post Actions" Local OnBeforeGetGiftCardCode (var SalesHeader: Record "Sales Header"; var GiftCardCode: Code[20]; LSExprPaymentMethod: Record "LSE Payment Method"; Var IsHandled: Boolean)  
Codeunit 70014009 "LSE Post Actions" Local OnBeforeRunInputPage OnBeforeRunInputPage(var SalesHeader: Record "Sales Header"; Var Amount: Decimal; LSExprPaymentMethod: Record "LSE Payment Method"; Var IsHandled: Boolean; GiftBalance: Decimal; TotalBalance: Decimal) Obsolete (Replaced by 'OnBeforeRunInputPageV2')
Codeunit 70014009 "LSE Post Actions" Local OnBeforeRunInputPageV2 (var SalesHeader: Record "Sales Header"; var Amount: Decimal; var LSExprPaymentMethod: Record "LSE Payment Method"; var IsHandled: Boolean; var GiftBalance: Decimal; var TotalBalance: Decimal; var InpuPage: Page "LSE Input")  
Codeunit 70014009 "LSE Post Actions" Local LSExpressBeforePostingSale (var SalesHeader: Record "Sales Header") Obsolete (Replaced by 'LSExpressBeforePostingSaleV2', '11.0')
Codeunit 70014009 "LSE Post Actions" Local LSExpressAfterPostingSale    
Codeunit 70014009 "LSE Post Actions" Local OnBeforeNewPaymentLineOfPickThisPaymentMethod (var SalesHeader: Record "Sales Header"; var LSExprPaymentMethod: Record "LSE Payment Method"; Amount: Decimal; var ReadyToPost: Boolean; var SkipNewPaymentLine: Boolean)  
Codeunit 70014009 "LSE Post Actions" Local LSExpressBeforePostingSaleV2 (var SalesHeader: Record "Sales Header"; var ReadyToPost: Boolean; var IsHandled: Boolean)  
Codeunit 70014009 "LSE Post Actions" Local OnBeforeSetDefaultBalanceAmount (LSExprPaymentMethod: Record "LSE Payment Method"; var TotalBalance: Decimal)  
Codeunit 70014018 "LSE PrintNode Utilities" Local OnBeforePrintJobsWSAppendPrintJobOptions (var ContentText: Text)  
Codeunit 70014039 LSECustomersPayments Local OnBeforeInvokeLSPayPaymentIntoCustAcc (var POSCustAccPayment: Record LSEPOSCustAccPayment; var IsHandled: Boolean; var ReturnValue: Boolean)  
Codeunit 70014039 LSECustomersPayments Local OnBeforeInvokeLSPayRefundIntoCustAcc (var POSCustAccPayment: Record LSEPOSCustAccPayment; var IsHandled: Boolean; var ReturnValue: Boolean)  
Codeunit 70014039 LSECustomersPayments Local OnCustPaymentServiceDetected POSCustAccPayment: Record LSEPOSCustAccPayment  
Codeunit 70014045 LSEPromotionMgt Local OnBeforeGetPromotionNo (var SalesHeader: Record "Sales Header"; var IsHandled: Boolean; var SalesPromotion: Record LSESalesPromotion)  
Codeunit 70014054 "LSE Generate SAF-T File" Local OnLoopSalesInvLineBeforeAddToXMLExportTransactionLine var SalesInvLine: Record "Sales Invoice Line"; var Quantity: Decimal; var Amount: Decimal; var NetAmount: Decimal; var VATAmount: Decimal; var SkipExecuteVATTag: Boolean  
Codeunit 70014054 "LSE Generate SAF-T File" Local OnLoopSalesCrMemoHeaderBeforeAddToXMLCashTransaction var SalesCrMemoHeader: Record "Sales Cr.Memo Header"; var Amount: Decimal; var NetAmount: Decimal  
Codeunit 70014054 "LSE Generate SAF-T File" Local OnLoopSalesInvHeaderBeforeAddToXMLCashTransaction var SalesInvHeader: Record "Sales Invoice Header"; var Amount: Decimal; var NetAmount: Decimal  
Codeunit 70014054 "LSE Generate SAF-T File" Local OnLoopSalesCrMemoLine BeforeAddToXMLExportTransactionLine (var SalesCrMemoLine: Record "Sales Cr.Memo Line"; var Quantity: Decimal; var Amount: Decimal; var NetAmount: Decimal; var VATAmount: Decimal; var SkipExecuteVATTag: Boolean)  
Codeunit 70014057 LSESEFiscalization Local OnAfterInsertFiscalEntry var FiscalEntry: Record LSEInfrasecSalesTransaction; DocumentType: Enum "Gen. Journal Document Type"; DocumentNo: Code[20]; ApplyDocumentNo: Code[20]  
Codeunit 70014059 "LSE Transaction Signature" Local OnBeforeInsertTransactionSignatureOfHashAndSignOnAfterPostTransaction var TransSignature: Record "LSE Transaction Signature"  
Codeunit 70014063 "LSE XZ Report Management" Local OnAfterInsertItemCategoryTemp (var ItemCategoryTemp: Record "Item Category" temporary; var TotalSalesAmountByItemCategory: Decimal; var StandardFormat: Integer; PostedSummaryNo: Code[20]; SummaryNo: Integer; FromDateTime: DateTime; ToDateTime: DateTime; StoreID: Code[20]; DrawerID: Code[20]; StaffID: Code[20])  
Codeunit 70014063 "LSE XZ Report Management" Local OnAfterCalculateNoOfItems (var NoOfServicesSold: Decimal; var NoOfServicesReturned: Decimal; PostedSummaryNo: Code[20]; SummaryNo: Integer; FromDateTime: DateTime; ToDateTime: DateTime; StoreID: Code[20]; DrawerID: Code[20]; StaffID: Code[20])  
Page 70014003 "LSE Input" Local OnBeforeQueryClosePageInput (var DecimalInput: Decimal; IsDecimalType: Boolean; CloseAction: Action )  
Page 70014007 "LSE Start" Local OnBeforeProcessOnAfterGetCurrRecord (var SalesHeader: Record "Sales Header"; var IsHandled: Boolean)  
Page 70014007 "LSE Start" Local OnBeforeCalculateTotals (var SalesHeader: Record "Sales Header"; var TotalSalesLine: Record "Sales Line"; var VATAmount: Decimal; var TotalDiscountAmount: Decimal; var TotalDiscountPct: Decimal; var Balance: Decimal; var IsHandled: Boolean)  
Page 70014007 "LSE Start" Local OnBeforeSearchItemFocusOnInputOnAfterGetCurrRecord (var SalesHeader: Record "Sales Header"; var SkipFocusOnInput: Boolean)  
Page 70014008 "LSE Start Subpage" Local QuantityBeforeOnDrillDown (var SalesLine: Record "Sales Line"; var IsHandled: Boolean)  
Page 70014008 "LSE Start Subpage" Local IncreaseLineDiscPercTextBeforeOnDrillDown (var SalesLine: Record "Sales Line"; var IsHandled: Boolean)  
Page 70014008 "LSE Start Subpage" Local DecreaseLineDiscPercTextBeforeOnDrillDown (var SalesLine: Record "Sales Line"; var IsHandled: Boolean)  
Page 70014008 "LSE Start Subpage" Local IncreaseLineDiscAmtTextBeforeOnDrillDown (var SalesLine: Record "Sales Line"; var IsHandled: Boolean)  
Page 70014008 "LSE Start Subpage" Local DecreaseLineDiscAmtTextBeforeOnDrillDown (var SalesLine: Record "Sales Line"; var IsHandled: Boolean)  
Page 70014008 "LSE Start Subpage" Local OnBeforeChangeQuantity (var SalesLine: Record "Sales Line"; NewQuantity: Decimal; var IsHandled: Boolean)  
Page 70014078 "LSECustPaymentInput" Local OnAfterValidateApplyToDocNo (var POSCustAccPayment: Record LSEPOSCustAccPayment)  
Page 70014082 LSEConfirmExactPayment Local OnPayWithExactCashBeforeOnQueryClosePage OnPayWithExactCashBeforeOnQueryClosePage(var SalesHeader: Record "Sales Header"; var BalanceAmount: Decimal; PaymentMethod: Record "LSE Payment Method"; var IsHandled: Boolean) Obsolete (Replaced by 'OnPayWithExactCashBeforeOnQueryClosePageV2')
Page 70014082 LSEConfirmExactPayment Local OnPayWithExactCashBeforeOnQueryClosePageV2 OnPayWithExactCashBeforeOnQueryClosePage(var SalesHeader: Record "Sales Header"; var BalanceAmount: Decimal; var PaymentMethod: Record "LSE Payment Method"; var IsHandled: Boolean)  
Page 70014139 "LSEPOSNewUI" Local OnExecuteCustomPOSAction (POSActionID: Integer; var CurrPageUpdate: Boolean; var SalesHeader: Record "Sales Header")  
Page 70014139 "LSEPOSNewUI" Local OnAfterItemNotFoundOnBeforeMessage (Input: Text; var IsHandled: Boolean)  
Page 70014139 "LSEPOSNewUI" Local OnBeforeUpdateBalance Rec: Record "Sales Header"; var Balance: Decimal  
Page 70014139 "LSEPOSNewUI" Local OnBeforeSalesLinesJSON var SalesLinesJSON: Text; SalesLine: Record "Sales Line"; FirstLoop: Boolean; var IsHandled: Boolean  
Page 70014139 "LSEPOSNewUI" Local OnElseSalesLine SalesLine: Record "Sales Line"  
Page 70014139 "LSEPOSNewUI" Local OnBeforeValidateItemInput (var SalesHeader: Record "Sales Header"; XSalesHeader: Record "Sales Header"; Inputvalue: Text; var IsHandled: Boolean)  
Page 70014139 "LSEPOSNewUI" Local AddCustomFieldsOnNewUI (Rec: Record "Sales Header"; var CustomText1: Text; var CustomText2: Text; var CustomText3: Text; var ShowCustomTextOnNewUI: Boolean)  
Page 70014139 "LSEPOSNewUI" Local OnDeleteCurrentSale (Rec: Record "Sales Header"; var IsHandled: Boolean)  
Report 70014010 "LSE Invoice Slip IS" Local OnBeforeGetSalesInvoiceLbl (SalesInvoiceHeader: Record "Sales Invoice Header"; var DocCaption: Text)  
Report 70014011 "LSE Credit Memo Slip IS" Local OnBeforeGetCreditMemoLbl (SalesCrMemoHeader: Record "Sales Cr.Memo Header"; var DocCaption: Text)  
Report 70014012 LSEInvoiceSlip2 Local OnBeforeGetSalesInvoiceLbl (SalesInvoiceHeader: Record "Sales Invoice Header"; var DocCaption: Text)  
Report 70014013 LSECreditMemoSlip2 Local OnBeforeGetCreditMemoLbl (SalesCrMemoHeader: Record "Sales Cr.Memo Header"; var DocCaption: Text)  
Report 70014040 "LSE Invoice Slip NO" Local OnBeforeGetSalesInvoiceLbl (SalesInvoiceHeader: Record "Sales Invoice Header"; var DocCaption: Text)  
Report 70014041 "LSE Credit Memo Slip NO" Local OnBeforeGetCreditMemoLbl (SalesCrMemoHeader: Record "Sales Cr.Memo Header"; var DocCaption: Text)  
Table 70014030 "LSE Store Summary" Local OnAfterLoopSalesInvoiceLineOfCalculateAmountsAndCounters (var StoreSummary: Record "LSE Store Summary"; var SalesInvoiceLine: Record "Sales Invoice Line")  
Table 70014030 "LSE Store Summary" Local OnAfterInitializeTotals (var StoreSummary: Record "LSE Store Summary")  

 

See also

Extend/Verticalize