ProdRecBasketHandler Class [AX 2012]
The ProdRecBasketHandler class controls the operation that manipulate the basket.
| Method | Description | |
|---|---|---|
| addMultiSelectionToCache | Adds the selected records of the datasource to the basket. |
| addRecordToCache | Adds a record to the basket. |
| cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) |
| clearCache | Clears the basket. |
| clearDSFilterFromCache | Clears the view filter of the form so it shows all the records. |
| deleteRecordFromCache | Deletes a record from the basket. |
| delMultiSelectionFromCache | Removes the selected records of the datasource from the basket. |
| equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) |
| existsRecordOnCache | Checks if a record exists on the basket. |
| findOrAddBasketDataSource | Finds or creates a datasource referencing the ProdRecBasketRecords table on the query of the specified form. |
| getBasketJoinMode | Retrieves the current join mode that links the basket table to the main data source. |
| getCacheScope | Gets the cache scope for the current basket. |
| getCount | Gets the records currently on and off the basket. |
| getSelectionBasketStatus | Gets the selection status of the basket. |
| getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) |
| handle | Retrieves the handle of the class of the object. (Inherited from Object.) |
| handleClickedToggleComplView | Handles the click event for the button that toggles the visibility of the basket complementary. |
| handleClickedToggleView | Handles the click event for the button that toggles the visibility of the basket. |
| hasRecordOnCache | Checks if there are records on the basket for the current context. |
| init | Validates the arguments for the handler and initializes the handler. |
| new | Initializes a new instance of the ProdRecBasketHandler class. |
| 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.) |
| parmContextDataArea | Gets or sets the ContextDataArea parameter. |
| parmContextElementName | Gets or sets the ContextElementName parameter. |
| parmContextTableId | Gets or sets the ContextTableId parameter. |
| parmContextUserId | Gets or sets the ContextUserId parameter. |
| setDSFilterByCache | Sets the join mode from the main form datasource to the basket datasource; |
| 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.) |
| ::addMultiRecordsToCache | Adds all the records from the current datasource that are linked to the specified temporary cursor. |
| ::anyRecordInAnyOutOnCache | Checks if any record of those selected is or is not in the basket. |
| ::construct | Initializes a new instance of the ProdRecBasketHandler class. |
| ::countBasketRecordsServer | Gets the records currently on and off the basket. |
| ::deleteMultiRecordFromCache | Removes all the records from the current datasource that are linked to the specified temporary cursor. |
| ::newFromFormName | Creates an instance of the ProdRecBasketHandler class for the specified form and table. |
Community Additions
ADD
Show: