CostSheetPanel Class [AX 2012]
The CostSheetPanel class is an abstract class that represents a complex control built at run-time.
| Method | Description | |
|---|---|---|
| allowEditQty | Determines whether the quantity field should be editable. |
| build | Builds the complex control on a caller form at runtime. |
| cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) |
| costRollupFieldGroup | Determines which field group should be used to represent cost rollup data. |
| costSheet | Returns an instance of a costing sheet. |
| costTmpCostRollup | Generates data for a cost rollup data source. |
| costType | Gets the CostPriceType enumeration value that represents the branch of the costing sheet displayed in the panel. |
| equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) |
| fill | Fills in the temporary data source with cost rollup and updates the grids. |
| getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) |
| handle | Retrieves the handle of the class of the object. (Inherited from Object.) |
| header_per_modified | Handles the modified event of the Per control. |
| header_qty_modified | Handles the modified event of the Quantity control. |
| header_rollupLevel_modified | Handles the modified event of the rollup level control. |
| header_view_modified | Handles the modified event of the View control. |
| init | Initializes the dynamically built controls. |
| initUnitIdAndLotSize | Initializes the unit ID and the lot size values. |
| modifiedPer | Modifies the form control values according to the new selection in Per control. |
| modifiedQty | Modifies the form control values according to the new selection in the Quantity control. |
| modifiedRollupLevel | Modifies the form control values according to the new selection in the rollup level control. |
| modifiedView | Modifies the form control values according to the new selection in the View control. |
| 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.) |
| packedRecordsList | Generates a packed List with cost rollup records that will later be used as a source for cost rollup or costing sheet grids. |
| parmFormRun | Gets or sets the FormRun parameter. |
| parmParentId | Gets or sets the ParentId parameter. |
| 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.) |
| totalContributorFieldList | Determines which fields of the cost rollup table should be used to calculate the total amount. |
| totalLabel | Determines what label should be used in front of the total value. |
| updateGrids | Uses the temporary cost rollup data to fill in the grids. |
| 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.) |
This consists of a header with several controls, and two grids underneath. One grid represents a standard cost rollup, the other represents a costing sheet. Either of the grids is visible, depending on the header controls setup.
If any new form requires this complex control, a new class should be created by extending the CostSheetPanel class.
Community Additions
ADD
Show: