Share via


RetailTransactionServiceAX5 Class [AX 2012]

The RetailTransactionServiceAX5 class is used as a service class between the Ax and the POS 2009.

Syntax

class RetailTransactionServiceAX5

Run On

Called

Methods

  Method Description
JJ782423.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
JJ782423.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
JJ782423.privmethod(en-us,AX.60).gif fillLoyaltyTrans
JJ782423.privmethod(en-us,AX.60).gif fillSalesTrans
JJ782423.privmethod(en-us,AX.60).gif fillTransactionTable
JJ782423.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
JJ782423.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
JJ782423.pubmethod(en-us,AX.60).gif new Initializes a new instance of the Object class. (Inherited from Object.)
JJ782423.pubmethod(en-us,AX.60).gif notify Releases the hold on an object that has called the wait method on this object. (Inherited from Object.)
JJ782423.pubmethod(en-us,AX.60).gif notifyAll Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.)
JJ782423.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
JJ782423.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
JJ782423.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
JJ782423.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
JJ782423.pubmethod(en-us,AX.60).gif usageCount Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.)
JJ782423.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
JJ782423.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)
JJ782423.pubmethod(en-us,AX.60).gif JJ782423.static(en-us,AX.60).gif ::createAddress Create address for customer.
JJ782423.pubmethod(en-us,AX.60).gif JJ782423.static(en-us,AX.60).gif ::createPackingSlip Method is used for creating the PackingSlip for sales order transaction.
JJ782423.pubmethod(en-us,AX.60).gif JJ782423.static(en-us,AX.60).gif ::createPickingList Method is used for creating the PickingList for sales order transaction.
JJ782423.pubmethod(en-us,AX.60).gif JJ782423.static(en-us,AX.60).gif ::creditVoucherCreate Creates new record in the table RetailCreditVoucherTable.
JJ782423.pubmethod(en-us,AX.60).gif JJ782423.static(en-us,AX.60).gif ::creditVoucherUpdate Updates a record in the table RetailCreditVoucherTable.
JJ782423.pubmethod(en-us,AX.60).gif JJ782423.static(en-us,AX.60).gif ::creditVoucherValidate Validates the credit voucher for the given credit memo number.
JJ782423.pubmethod(en-us,AX.60).gif JJ782423.static(en-us,AX.60).gif ::creditVoucherVoid Checks the status of Voided of table RetailCreditVoucherTable.
JJ782423.pubmethod(en-us,AX.60).gif JJ782423.static(en-us,AX.60).gif ::creditVoucherVoidPayment Voids the payment for the credit voucher.
JJ782423.pubmethod(en-us,AX.60).gif JJ782423.static(en-us,AX.60).gif ::customerNew Method is used for creating new customer.
JJ782423.pubmethod(en-us,AX.60).gif JJ782423.static(en-us,AX.60).gif ::customerStatus Method is used for checking the status of the customer account i.e., 1.Existence of the customer 2.Blocked/Unblocked 3.Credit limit
JJ782423.pubmethod(en-us,AX.60).gif JJ782423.static(en-us,AX.60).gif ::getLoyaltyPointStatus The function calculates the used, issued, expired points, depending on the table and baseEnum (Used; Issued; Expired).
JJ782423.pubmethod(en-us,AX.60).gif JJ782423.static(en-us,AX.60).gif ::getSalesInvoice Method returns the container salesInvoice having the data of the CustTrans and CustTable.
JJ782423.pubmethod(en-us,AX.60).gif JJ782423.static(en-us,AX.60).gif ::getSalesInvoiceList Method loops the CustTrans table to get the list of the sales invoices.
JJ782423.pubmethod(en-us,AX.60).gif JJ782423.static(en-us,AX.60).gif ::getSalesOrder Method returns the container salesOrder having the data of the SalesTable and CustTable.
JJ782423.pubmethod(en-us,AX.60).gif JJ782423.static(en-us,AX.60).gif ::getSalesOrderList Method loops the SalesTable to get the list of the sales orders.
JJ782423.pubmethod(en-us,AX.60).gif JJ782423.static(en-us,AX.60).gif ::getSalesOrderListForPrepayments Method loops the SalesTable to get the list of the sales orders for prepayments.
JJ782423.pubmethod(en-us,AX.60).gif JJ782423.static(en-us,AX.60).gif ::getTerminalData Method returns the container result with the value RetailTransactionServiceProfile.RetailTSData if the record exists.
JJ782423.pubmethod(en-us,AX.60).gif JJ782423.static(en-us,AX.60).gif ::getTransactionSalesTrans Method loops the list of transaction sales trans.
JJ782423.pubmethod(en-us,AX.60).gif JJ782423.static(en-us,AX.60).gif ::giftCardAddTo Method is used for creating the record in RetailGiftCardTransactions table.
JJ782423.pubmethod(en-us,AX.60).gif JJ782423.static(en-us,AX.60).gif ::giftCardGetBalance Method returns the status of the gift card.
JJ782423.pubmethod(en-us,AX.60).gif JJ782423.static(en-us,AX.60).gif ::giftCardIssue Method is used for creating the record in RetailGiftCardTransactions table.
JJ782423.pubmethod(en-us,AX.60).gif JJ782423.static(en-us,AX.60).gif ::giftCardPayment Method is used for creating the record in RetailGiftCardTransactions table.
JJ782423.pubmethod(en-us,AX.60).gif JJ782423.static(en-us,AX.60).gif ::giftCardValidate Method is used for validating the gift cards.
JJ782423.pubmethod(en-us,AX.60).gif JJ782423.static(en-us,AX.60).gif ::giftCardVoid Method is used to check the status of the gift card i.e., card exists or voided or not voided.
JJ782423.pubmethod(en-us,AX.60).gif JJ782423.static(en-us,AX.60).gif ::giftCardVoidPayment Method checks for the status of the gift card i.e., card exists or the gift card has any errors.
JJ782423.pubmethod(en-us,AX.60).gif JJ782423.static(en-us,AX.60).gif ::inventoryStatus Method is used for initializing the fields of InventDim with the values of InventDimCombination fields. Method checks for the available physical inventory.
JJ782423.pubmethod(en-us,AX.60).gif JJ782423.static(en-us,AX.60).gif ::LoyaltyIssuedPointsUpdate Method is used for creating the record in RetailLoyaltyMSRCardTrans table for Issued points.
JJ782423.pubmethod(en-us,AX.60).gif JJ782423.static(en-us,AX.60).gif ::LoyaltyPointStatusGet The function calculates the used, issued, expired points, depending on the table and baseEnum (Used; Issued; Expired).
JJ782423.pubmethod(en-us,AX.60).gif JJ782423.static(en-us,AX.60).gif ::LoyaltyUsedPointsUpdate Method is used for creating the record in RetailLoyaltyMSRCardTrans table for Issued points.
JJ782423.pubmethod(en-us,AX.60).gif JJ782423.static(en-us,AX.60).gif ::paySalesInvoice Method is used for calculating the payment for the sales invoice. Method performs the following; 1.Creates and posts the payment journal.2.Marks the Sale Order to be retail sale if it is paid at store.3.Marks sales order as retail sales.4.Marks this invoice as retail sales.
JJ782423.pubmethod(en-us,AX.60).gif JJ782423.static(en-us,AX.60).gif ::paySalesOrder Method is used for payment of sales order. Method performs the following: 1.Creates and posts payment journal.2.Return error if the total prepayment exceed the sales order total.3.Marks Sale Order to be retail sale if it is paid at store.4.Marks sales order as retail sales.5.Marks newly created invoice as retail sales.
JJ782423.pubmethod(en-us,AX.60).gif JJ782423.static(en-us,AX.60).gif ::returnTransactionSalesTrans Method updates the RetailTransactionSalesTrans.returnQty with the value in returnQty if the RetailTransactionSalesTrans.returnQty + returnQty > RetailTransactionSalesTrans.qty field.
JJ782423.pubmethod(en-us,AX.60).gif JJ782423.static(en-us,AX.60).gif ::staffLogin Method is used for updating the RetailStaffLoginLog.staffId with the value in _staffId if the record exists in RetailStaffLoginLog; else creates the record in RetailStaffLoginLogtable.
JJ782423.pubmethod(en-us,AX.60).gif JJ782423.static(en-us,AX.60).gif ::staffLogout Method deletes the record from RetailStaffLoginLog table.
JJ782423.pubmethod(en-us,AX.60).gif JJ782423.static(en-us,AX.60).gif ::UpdateAddress Update address

Top

Inheritance Hierarchy

Object Class
  RetailTransactionServiceAX5 Class