Share via


RetailTransactionServiceAX61 Class [AX 2012]

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

Syntax

class RetailTransactionServiceAX61

Run On

Called

Methods

  Method Description
JJ764060.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
JJ764060.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
JJ764060.privmethod(en-us,AX.60).gif fillLoyaltyTrans Method returns container with the value in the RetailTransactionLoyaltyPointsTrans.cardNumber field.
JJ764060.privmethod(en-us,AX.60).gif fillSalesTrans Method returns the container salesTrans having the data of the RetailTransactionSalesTrans table.
JJ764060.privmethod(en-us,AX.60).gif fillTransactionTable Method returns the container transTable having the data of the RetailTransactionTable.
JJ764060.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
JJ764060.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
JJ764060.pubmethod(en-us,AX.60).gif new Initializes a new instance of the Object class. (Inherited from Object.)
JJ764060.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.)
JJ764060.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.)
JJ764060.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
JJ764060.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
JJ764060.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
JJ764060.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
JJ764060.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.)
JJ764060.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
JJ764060.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)
JJ764060.pubmethod(en-us,AX.60).gif JJ764060.static(en-us,AX.60).gif ::cancelCustomerOrder Cancels the sales order.
JJ764060.pubmethod(en-us,AX.60).gif JJ764060.static(en-us,AX.60).gif ::convertCustomerQuoteToOrder Converts a quotation to sales order.
JJ764060.pubmethod(en-us,AX.60).gif JJ764060.static(en-us,AX.60).gif ::createAddress Create address for customer.
JJ764060.pubmethod(en-us,AX.60).gif JJ764060.static(en-us,AX.60).gif ::createCustomerOrder Creates a customer order from the given details.
JJ764060.pubmethod(en-us,AX.60).gif JJ764060.static(en-us,AX.60).gif ::createCustomerQuote Creates a sales quotation from the given details.
JJ764060.pubmethod(en-us,AX.60).gif JJ764060.static(en-us,AX.60).gif ::createCustomerReturnOrder Creates a customer return order from the given details.
JJ764060.pubmethod(en-us,AX.60).gif JJ764060.static(en-us,AX.60).gif ::createInventoryJournal Creates an inventory journal.
JJ764060.pubmethod(en-us,AX.60).gif JJ764060.static(en-us,AX.60).gif ::createPackingSlip Method is used for creating the PackingSlip for sales order transaction.
JJ764060.pubmethod(en-us,AX.60).gif JJ764060.static(en-us,AX.60).gif ::createPickingList Method is used for creating the PickingList for sales order transaction.
JJ764060.pubmethod(en-us,AX.60).gif JJ764060.static(en-us,AX.60).gif ::createPickListForCustomerOrder Creates picking list for the given items.
JJ764060.pubmethod(en-us,AX.60).gif JJ764060.static(en-us,AX.60).gif ::createReturnOrder Creates a return order from the given details.
JJ764060.pubmethod(en-us,AX.60).gif JJ764060.static(en-us,AX.60).gif ::creditVoucherCreate Method is used for creating the record in RetailCreditVoucherTable.
JJ764060.pubmethod(en-us,AX.60).gif JJ764060.static(en-us,AX.60).gif ::creditVoucherUpdate Method is used for updating the record in RetailCreditVoucherTable.
JJ764060.pubmethod(en-us,AX.60).gif JJ764060.static(en-us,AX.60).gif ::creditVoucherValidate Method is used for validating the credit vouchers.
JJ764060.pubmethod(en-us,AX.60).gif JJ764060.static(en-us,AX.60).gif ::creditVoucherVoid Method is used to check the status of the credit voucher i.e., voucher exists or voided or not voided.
JJ764060.pubmethod(en-us,AX.60).gif JJ764060.static(en-us,AX.60).gif ::creditVoucherVoidPayment Method checks for the status of the credit voucher i.e., voucher is in use or the voucher has any errors or the voucher does not exists.
JJ764060.pubmethod(en-us,AX.60).gif JJ764060.static(en-us,AX.60).gif ::customerNew Method is used for creating new customer.
JJ764060.pubmethod(en-us,AX.60).gif JJ764060.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
JJ764060.pubmethod(en-us,AX.60).gif JJ764060.static(en-us,AX.60).gif ::getCustomerOrder Gets the customer order for the given Id.
JJ764060.pubmethod(en-us,AX.60).gif JJ764060.static(en-us,AX.60).gif ::getCustomerOrderList Gets the customer order details for the given customer.
JJ764060.pubmethod(en-us,AX.60).gif JJ764060.static(en-us,AX.60).gif ::getCustomerOrdersForPackSlip Get customer orders for pack slip creation
JJ764060.pubmethod(en-us,AX.60).gif JJ764060.static(en-us,AX.60).gif ::getCustomerQuote Gets the quotation for the given Quotation Id.
JJ764060.pubmethod(en-us,AX.60).gif JJ764060.static(en-us,AX.60).gif ::getInventJournal Get an inventory journal object in XML format
JJ764060.pubmethod(en-us,AX.60).gif JJ764060.static(en-us,AX.60).gif ::getInventJournals Get a list of inventory journals for stock counting
JJ764060.pubmethod(en-us,AX.60).gif JJ764060.static(en-us,AX.60).gif ::getLoyaltyPointStatus The function calculates the used, issued, expired points, depending on the table and baseEnum (Used; Issued; Expired).
JJ764060.pubmethod(en-us,AX.60).gif JJ764060.static(en-us,AX.60).gif ::getOpenPurchaseOrders Get a list of open purchase orders for a location
JJ764060.pubmethod(en-us,AX.60).gif JJ764060.static(en-us,AX.60).gif ::getOpenTransferOrders Get a list of open transfer orders for a store
JJ764060.pubmethod(en-us,AX.60).gif JJ764060.static(en-us,AX.60).gif ::getPackingSlips Gets the list of Packingslip journals for the given location.
JJ764060.pubmethod(en-us,AX.60).gif JJ764060.static(en-us,AX.60).gif ::getPickingList Get the details of a picking list
JJ764060.pubmethod(en-us,AX.60).gif JJ764060.static(en-us,AX.60).gif ::getPickingLists Get a list of picking lists for a store
JJ764060.pubmethod(en-us,AX.60).gif JJ764060.static(en-us,AX.60).gif ::getPurchaseOrder Get the details of a purchase order
JJ764060.pubmethod(en-us,AX.60).gif JJ764060.static(en-us,AX.60).gif ::getReturnReasonCodes Gets the reason codes.
JJ764060.pubmethod(en-us,AX.60).gif JJ764060.static(en-us,AX.60).gif ::getSalesInvoice Method returns the container salesInvoice having the data of the CustTrans and CustTable.
JJ764060.pubmethod(en-us,AX.60).gif JJ764060.static(en-us,AX.60).gif ::getSalesInvoiceDetail Get the details of a sales invoice
JJ764060.pubmethod(en-us,AX.60).gif JJ764060.static(en-us,AX.60).gif ::getSalesInvoiceList Method loops the CustTrans table to get the list of the sales invoices.
JJ764060.pubmethod(en-us,AX.60).gif JJ764060.static(en-us,AX.60).gif ::getSalesInvoicesBySalesId Get a list of sales invoices for a sales order
JJ764060.pubmethod(en-us,AX.60).gif JJ764060.static(en-us,AX.60).gif ::getSalesOrder Method returns the container salesOrder having the data of the SalesTable and CustTable.
JJ764060.pubmethod(en-us,AX.60).gif JJ764060.static(en-us,AX.60).gif ::getSalesOrderDetail Get the details of a sales order
JJ764060.pubmethod(en-us,AX.60).gif JJ764060.static(en-us,AX.60).gif ::getSalesOrderList Method loops the SalesTable to get the list of the sales orders.
JJ764060.pubmethod(en-us,AX.60).gif JJ764060.static(en-us,AX.60).gif ::getSalesOrderListForPrepayments Method loops the SalesTable to get the list of the sales orders for prepayments.
JJ764060.pubmethod(en-us,AX.60).gif JJ764060.static(en-us,AX.60).gif ::getTerminalData Method returns the container result with the value RetailTransactionServiceProfile.RetailTSData if the record exists.
JJ764060.pubmethod(en-us,AX.60).gif JJ764060.static(en-us,AX.60).gif ::getTransactionSalesTrans Method is used for retrieving the sales transactions. Performs the following: 1.Adds transaction details.2.Adds item details.3.Adds loyalty.Performs the following validations: 1.No transactions for the receipt ID.2.Too many transactions were found for receipt ID.
JJ764060.pubmethod(en-us,AX.60).gif JJ764060.static(en-us,AX.60).gif ::getTransferOrder Get the details of a transfer order
JJ764060.pubmethod(en-us,AX.60).gif JJ764060.static(en-us,AX.60).gif ::giftCardAddTo Method is used for creating the record in RetailGiftCardTransactions table.
JJ764060.pubmethod(en-us,AX.60).gif JJ764060.static(en-us,AX.60).gif ::giftCardGetBalance Method returns the status of the gift card.
JJ764060.pubmethod(en-us,AX.60).gif JJ764060.static(en-us,AX.60).gif ::giftCardIssue Method is used for creating the record in RetailGiftCardTransactions table.
JJ764060.pubmethod(en-us,AX.60).gif JJ764060.static(en-us,AX.60).gif ::giftCardPayment Method is used for creating the record in RetailGiftCardTransactions table.
JJ764060.pubmethod(en-us,AX.60).gif JJ764060.static(en-us,AX.60).gif ::giftCardValidate Method is used for validating the gift cards.
JJ764060.pubmethod(en-us,AX.60).gif JJ764060.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.
JJ764060.pubmethod(en-us,AX.60).gif JJ764060.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.
JJ764060.pubmethod(en-us,AX.60).gif JJ764060.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.
JJ764060.pubmethod(en-us,AX.60).gif JJ764060.static(en-us,AX.60).gif ::loyaltyIssuedPointsUpdate Method is used for creating the record in RetailLoyaltyMSRCardTrans table for Issued points.
JJ764060.pubmethod(en-us,AX.60).gif JJ764060.static(en-us,AX.60).gif ::loyaltyPointStatusGet The function calculates the used, issued, expired points, depending on the table and baseEnum (Used; Issued; Expired).
JJ764060.pubmethod(en-us,AX.60).gif JJ764060.static(en-us,AX.60).gif ::loyaltyUsedPointsUpdate Method is used for creating the record in RetailLoyaltyMSRCardTrans table for Used points.
JJ764060.pubmethod(en-us,AX.60).gif JJ764060.static(en-us,AX.60).gif ::packingSlipForCustomerOrder Creates packing slip for the customer order.
JJ764060.pubmethod(en-us,AX.60).gif JJ764060.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.
JJ764060.pubmethod(en-us,AX.60).gif JJ764060.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.
JJ764060.pubmethod(en-us,AX.60).gif JJ764060.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.
JJ764060.pubmethod(en-us,AX.60).gif JJ764060.static(en-us,AX.60).gif ::settleCustomerOrder Settle a customer order
JJ764060.pubmethod(en-us,AX.60).gif JJ764060.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.
JJ764060.pubmethod(en-us,AX.60).gif JJ764060.static(en-us,AX.60).gif ::staffLogout Method deletes the record from RetailStaffLoginLog table.
JJ764060.pubmethod(en-us,AX.60).gif JJ764060.static(en-us,AX.60).gif ::updateAddress Method is used for updating the record in LogisticsPostalAddress table.
JJ764060.pubmethod(en-us,AX.60).gif JJ764060.static(en-us,AX.60).gif ::updateCustomerOrder Updates the customer order.
JJ764060.pubmethod(en-us,AX.60).gif JJ764060.static(en-us,AX.60).gif ::updateCustomerQuote Updates a sales quotation from the given details.
JJ764060.pubmethod(en-us,AX.60).gif JJ764060.static(en-us,AX.60).gif ::updateInventoryJournal Update an inventory journal document in AX
JJ764060.pubmethod(en-us,AX.60).gif JJ764060.static(en-us,AX.60).gif ::updatePickingList Updates the picking list in Ax.
JJ764060.pubmethod(en-us,AX.60).gif JJ764060.static(en-us,AX.60).gif ::updatePurchaseOrder Update a purchase order
JJ764060.pubmethod(en-us,AX.60).gif JJ764060.static(en-us,AX.60).gif ::updateTransferOrder Update a transfer order
JJ764060.pubmethod(en-us,AX.60).gif JJ764060.static(en-us,AX.60).gif ::UpsertLogisticsElectronicAddress Inserts or updates the electronic address based on the locator.

Top

Inheritance Hierarchy

Object Class
  RetailTransactionServiceAX61 Class