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 | |
---|---|---|
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 | ||
fillSalesTrans | ||
fillTransactionTable | ||
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.) | |
::createAddress | Create address for customer. | |
::createPackingSlip | Method is used for creating the PackingSlip for sales order transaction. | |
::createPickingList | Method is used for creating the PickingList for sales order transaction. | |
::creditVoucherCreate | Creates new record in the table RetailCreditVoucherTable. | |
::creditVoucherUpdate | Updates a record in the table RetailCreditVoucherTable. | |
::creditVoucherValidate | Validates the credit voucher for the given credit memo number. | |
::creditVoucherVoid | Checks the status of Voided of table RetailCreditVoucherTable. | |
::creditVoucherVoidPayment | Voids the payment for the credit voucher. | |
::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 | |
::getLoyaltyPointStatus | The function calculates the used, issued, expired points, depending on the table and baseEnum (Used; Issued; Expired). | |
::getSalesInvoice | Method returns the container salesInvoice having the data of the CustTrans and CustTable. | |
::getSalesInvoiceList | Method loops the CustTrans table to get the list of the sales invoices. | |
::getSalesOrder | Method returns the container salesOrder having the data of the SalesTable and CustTable. | |
::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 loops the list of transaction sales trans. | |
::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 Issued points. | |
::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. | |
::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 | Update address |
Top
Inheritance Hierarchy
Object Class
RetailTransactionServiceAX5 Class