DOCommerceUtilities Class [AX 2012]
The DOCommerceUtilities class contains various utility functions.
| 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.) |
| 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.) |
| ::containsErrors | |
| ::createHeaderInXml | Reconstructs the XML in order to have a root node, which contains a header node and a body node. |
| ::createHybridClientId | |
| ::CreateOCIdentifier | |
| ::filterForDeltaSync | |
| ::filterTaxGroupsByDefaultCurrency | Filters tax codes of non-default currency in tax groups. |
| ::getConfigurationForOnlineStore | Finds the user-selected configuration for the online store ID. |
| ::getEntityClientId | |
| ::getEntityServerId | |
| ::getMarketplacesUrl | Reads the company-specific URLs. |
| ::getMasterCatalogId | |
| ::getOCDiscountModeName | Gets the online commerce discount mode name from a Microsoft Dynamics AXSalesLineMultiLn value. |
| ::getOnlineCatalogsUrl | Reads the company-specific URLs. |
| ::getOrderDetailUrl | Reads the company specific URLs. |
| ::getRecIdByCompanyId | |
| ::getRootCategoryId | Is the identifier of the root category. |
| ::getSellOnlineMarketplacesUrl | Get the marketplaces URL of the company from Commerce Services for Microsoft Dynamics ERP. |
| ::getSellOnlineOnlineStoresUrl | Get the online stores URL of the company from Commerce Services for Microsoft Dynamics ERP. |
| ::handleDeleteFromCloudResults | Handles the results as required after deleting entities from the cloud. |
| ::handleUploadToCloudResults | Handles the results as required after uploading entities to the cloud. |
| ::insertEntitiesForRetry | Inserts entities into the retry table when they are not already inserted. |
| ::logEntityCount | Logs a message that is based on the specified number of entities. |
| ::logSyncTaskBegin | Logs a starting entry for a sync task. |
| ::logSyncTaskResult | Logs the number of successes and errors in a sync task. |
| ::numberOfErrors | Iterates the results and counts the errors. |
| ::readCompanyUrls | |
| ::removeEntityForRetry | Removes an entity from the retry table. |
| ::setRecIdForEntityKey | Sets the Record ID for an entity key based on its key data. |
| ::transform |
Community Additions
ADD
Show: