Table of Contents

Codeunit DXWLSTransactionQuery

ID 23087910

DXWLSTransactionQuery Codeunit This codeunit handles the Advanced Transaction Search for LS POS system. It allows users to search for transactions based on various criteria such as store number, POS terminal number, date, item number, barcode, name, email, card number, phone number, contact number, banner code, order number, and receipt number. It also provides functionality to register the transaction query, create lookup data, and manage web service data.

Properties

Name Value
Description POS Transaction Query
TableNo "LSC POS Menu Line"

Methods

DXWLSTransactionQuery

This procedure queries transactions based on various parameters and exports the results to an XML port. This procedure is invoked via Web Services.

procedure DXWLSTransactionQuery(var ResponseCode: Text, var ErrorText: Text, StoreNo: Code[10], POSTerminalNo: Code[10], Date: Text, ItemNo: Code[20], Barcode: Code[20], Name: Text, Address: Text, Email: Text, CardNumber: Text, PhoneNumber: Text, ContactNo: Code[20], BannerCode: Code[20], OrderNo: Code[20], ReceiptNo: Code[20], var TransactionListXML: XmlPort "DXWLS TransactionQueryResults")

Parameters

Name Type Description
ResponseCode Text
ErrorText Text
StoreNo Code[10]
POSTerminalNo Code[10]
Date Text
ItemNo Code[20]
Barcode Code[20]
Name Text
Address Text
Email Text
CardNumber Text
PhoneNumber Text
ContactNo Code[20]
BannerCode Code[20]
OrderNo Code[20]
ReceiptNo Code[20]
TransactionListXML "DXWLS TransactionQueryResults"

Events

OnAfterInitSearchDefaults

Event that is raised after the search defaults are initialized in the DXWLS Transaction Finder. This event can be used to modify the search defaults before they are applied.

[IntegrationEvent(True,False)]
local procedure OnAfterInitSearchDefaults(var TransactionFinder: Record "DXWLS TransactionFinder" temporary)

Parameters

Name Type Description
TransactionFinder Record "DXWLS TransactionFinder" temporary

Search Parameters record

OnAfterApplyTransactionQueryFilters

Event that is raised after the transaction query filters have been applied. This event can be used to apply additional filters or modify the existing filters before the transaction query is executed.

[IntegrationEvent(False,False)]
local procedure OnAfterApplyTransactionQueryFilters(var TransQUery: Query "DXWLS TransactionQuery")

Parameters

Name Type Description
TransQUery "DXWLS TransactionQuery"

See also