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 | |
---|---|---|
cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) | |
equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) | |
fillLoyaltyTrans | Method returns container with the value in the RetailTransactionLoyaltyPointsTrans.cardNumber field. | |
fillSalesTrans | Method returns the container salesTrans having the data of the RetailTransactionSalesTrans table. | |
fillTransactionTable | Method returns the container transTable having the data of the RetailTransactionTable. | |
getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) | |
handle | Retrieves the handle of the class of the object. (Inherited from Object.) | |
new | Initializes a new instance of the Object class. (Inherited from Object.) | |
notify | Releases the hold on an object that has called the wait method on this object. (Inherited from Object.) | |
notifyAll | Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.) | |
objectOnServer | Determines whether the object is on a server. (Inherited from Object.) | |
owner | Returns the instance that owns the object. (Inherited from Object.) | |
setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) | |
toString | Returns a string that represents the current object. (Inherited from Object.) | |
usageCount | Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.) | |
wait | Pauses a process. (Inherited from Object.) | |
xml | Returns an XML string that represents the current object. (Inherited from Object.) | |
::cancelCustomerOrder | Cancels the sales order. | |
::convertCustomerQuoteToOrder | Converts a quotation to sales order. | |
::createAddress | Create address for customer. | |
::createCustomerOrder | Creates a customer order from the given details. | |
::createCustomerQuote | Creates a sales quotation from the given details. | |
::createCustomerReturnOrder | Creates a customer return order from the given details. | |
::createInventoryJournal | Creates an inventory journal. | |
::createPackingSlip | Method is used for creating the PackingSlip for sales order transaction. | |
::createPickingList | Method is used for creating the PickingList for sales order transaction. | |
::createPickListForCustomerOrder | Creates picking list for the given items. | |
::createReturnOrder | Creates a return order from the given details. | |
::creditVoucherCreate | Method is used for creating the record in RetailCreditVoucherTable. | |
::creditVoucherUpdate | Method is used for updating the record in RetailCreditVoucherTable. | |
::creditVoucherValidate | Method is used for validating the credit vouchers. | |
::creditVoucherVoid | Method is used to check the status of the credit voucher i.e., voucher exists or voided or not voided. | |
::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. | |
::customerNew | Method is used for creating new customer. | |
::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 | |
::getCustomerOrder | Gets the customer order for the given Id. | |
::getCustomerOrderList | Gets the customer order details for the given customer. | |
::getCustomerOrdersForPackSlip | Get customer orders for pack slip creation | |
::getCustomerQuote | Gets the quotation for the given Quotation Id. | |
::getInventJournal | Get an inventory journal object in XML format | |
::getInventJournals | Get a list of inventory journals for stock counting | |
::getLoyaltyPointStatus | The function calculates the used, issued, expired points, depending on the table and baseEnum (Used; Issued; Expired). | |
::getOpenPurchaseOrders | Get a list of open purchase orders for a location | |
::getOpenTransferOrders | Get a list of open transfer orders for a store | |
::getPackingSlips | Gets the list of Packingslip journals for the given location. | |
::getPickingList | Get the details of a picking list | |
::getPickingLists | Get a list of picking lists for a store | |
::getPurchaseOrder | Get the details of a purchase order | |
::getReturnReasonCodes | Gets the reason codes. | |
::getSalesInvoice | Method returns the container salesInvoice having the data of the CustTrans and CustTable. | |
::getSalesInvoiceDetail | Get the details of a sales invoice | |
::getSalesInvoiceList | Method loops the CustTrans table to get the list of the sales invoices. | |
::getSalesInvoicesBySalesId | Get a list of sales invoices for a sales order | |
::getSalesOrder | Method returns the container salesOrder having the data of the SalesTable and CustTable. | |
::getSalesOrderDetail | Get the details of a sales order | |
::getSalesOrderList | Method loops the SalesTable to get the list of the sales orders. | |
::getSalesOrderListForPrepayments | Method loops the SalesTable to get the list of the sales orders for prepayments. | |
::getTerminalData | Method returns the container result with the value RetailTransactionServiceProfile.RetailTSData if the record exists. | |
::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. | |
::getTransferOrder | Get the details of a transfer order | |
::giftCardAddTo | Method is used for creating the record in RetailGiftCardTransactions table. | |
::giftCardGetBalance | Method returns the status of the gift card. | |
::giftCardIssue | Method is used for creating the record in RetailGiftCardTransactions table. | |
::giftCardPayment | Method is used for creating the record in RetailGiftCardTransactions table. | |
::giftCardValidate | Method is used for validating the gift cards. | |
::giftCardVoid | Method is used to check the status of the gift card i.e., card exists or voided or not voided. | |
::giftCardVoidPayment | Method checks for the status of the gift card i.e., card exists or the gift card has any errors. | |
::inventoryStatus | Method is used for initializing the fields of InventDim with the values of InventDimCombination fields. Method checks for the available physical inventory. | |
::loyaltyIssuedPointsUpdate | Method is used for creating the record in RetailLoyaltyMSRCardTrans table for Issued points. | |
::loyaltyPointStatusGet | The function calculates the used, issued, expired points, depending on the table and baseEnum (Used; Issued; Expired). | |
::loyaltyUsedPointsUpdate | Method is used for creating the record in RetailLoyaltyMSRCardTrans table for Used points. | |
::packingSlipForCustomerOrder | Creates packing slip for the customer order. | |
::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. | |
::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. | |
::returnTransactionSalesTrans | Method updates the RetailTransactionSalesTrans.returnQty with the value in returnQty if the RetailTransactionSalesTrans.returnQty + returnQty > RetailTransactionSalesTrans.qty field. | |
::settleCustomerOrder | Settle a customer order | |
::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. | |
::staffLogout | Method deletes the record from RetailStaffLoginLog table. | |
::updateAddress | Method is used for updating the record in LogisticsPostalAddress table. | |
::updateCustomerOrder | Updates the customer order. | |
::updateCustomerQuote | Updates a sales quotation from the given details. | |
::updateInventoryJournal | Update an inventory journal document in AX | |
::updatePickingList | Updates the picking list in Ax. | |
::updatePurchaseOrder | Update a purchase order | |
::updateTransferOrder | Update a transfer order | |
::UpsertLogisticsElectronicAddress | Inserts or updates the electronic address based on the locator. |
Top
Inheritance Hierarchy
Object Class
RetailTransactionServiceAX61 Class