HcmPositionForecastCopy Class [AX 2012]
The HcmPositionForecastCopy class controls the bulk creation of position forecast data based upon a source position.
| Method | Description | |
|---|---|---|
| cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) |
| checkNumSeq | Checks whether the number sequence has been blocked. (Inherited from HcmPositionCopyBase.) |
| copyBudget | Copies the budget related data from the source position to destination position record. |
| copyDefaultDimension | Copies the position default dimension data from the source forecast position to destination forecast position record. |
| copyFinancialDimensions | Copies the financial dimension related data from the source forecast position to destination forecast position record. |
| copyPositionDetail | Creates a record in the HcmPositionDetail table from the passed in parameters. |
| copyPositionDuration | Creates a record in the HcmPositionDuration table from the passed in parameters. |
| copyPositionForecast | Creates records in the HcmForecastPosition, HcmPositionForecastDetail, and HcmPositionForecastDuration tables. |
| copyPositionForecastDetail | Creates a record in the HcmPositionForecastDetail table from the passed in parameters. |
| copyPositionForecastLastModified | Creates a record in the HcmPositionForecastLastModified table from the passed in parameters. |
| copyPositionForecastScenario | Creates a record in the HcmPositionForecastScenario table from the passed in parameters. |
| copyRelationships | Copies the reporting relationship related data from the source forecast position to destination forecast position record. |
| createCopyPositionPosId | Generates a value for the PositionId field by using a number sequence or user-defined parameters. (Inherited from HcmPositionCopyBase.) |
| createNewPositions | This method creates new forecast positions from the selected forecast position. |
| 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.) |
| initalize | Performs housekeeping, initializes class properties, and calls the run method. |
| initParameters | Initializes a set of parameters that is used when the position is copied. (Inherited from HcmPositionCopyBase.) |
| initParmNumberSequence | Initializes a number sequence that is related to class variables. (Inherited from HcmPositionCopyBase.) |
| isFormClosedOk | Returns a Boolean value that indicates whether the form that is used with the class has been closed without errors. (Inherited from HcmPositionCopyBase.) |
| isInitParamNumberSeqSuccessful | Returns a Boolean value that indicates whether the number sequence class variables have been initialized. (Inherited from HcmPositionCopyBase.) |
| isNumSeqConfigured | Indicates whether the position number sequence is correctly configured. (Inherited from HcmPositionCopyBase.) |
| new | Initializes an instance of the HcmPositionForecastCopy 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.) |
| pack | Serializes the current instance of the HcmPositionForecastCopy class. (Overrides the pack Method.) |
| parmAsOfDateTime | Gets or sets the AsOfDateTime parameter. (Inherited from HcmPositionCopyBase.) |
| parmDestinationPositionForecastRecId | Gets or sets the DestinationPositionForecastRecId parameter. |
| parmDestinationPositionRecId | Gets or sets the DestinationPositionRecId parameter. (Inherited from HcmPositionCopyBase.) |
| parmDestPositionForecastScenarioRecId | Gets or sets the DestPositionForecastScenarioRecId parameter. |
| parmFormUseNumSeq | Gets or sets the FormUseNumSeq parameter. (Inherited from HcmPositionCopyBase.) |
| parmInterval | Gets or sets the Interval parameter. (Inherited from HcmPositionCopyBase.) |
| parmNumberOfCopies | Gets or sets the NumberOfCopies parameter. (Inherited from HcmPositionCopyBase.) |
| parmPosition | Gets or sets the Position parameter. (Inherited from HcmPositionCopyBase.) |
| parmPositionDescription | Gets or sets the PositionDescription parameter. (Inherited from HcmPositionCopyBase.) |
| parmPositionForecastRecId | Gets or sets the PositionForecastRecId parameter. (Inherited from HcmPositionCopyBase.) |
| parmPositionForecastScenario | Gets or sets the PositionForecastScenario parameter. |
| parmPositionNumMask | Gets or sets the PositionNumMask parameter. (Inherited from HcmPositionCopyBase.) |
| parmPositionRecId | Gets or sets the PositionRecId parameter. (Inherited from HcmPositionCopyBase.) |
| parmStartValue | Gets or sets the StartValue parameter. (Inherited from HcmPositionCopyBase.) |
| run | Contains the code that does the actual job of the class. (Overrides the run Method.) |
| setAvailableForAssignment | Returns the default value for the AvailableForAssignment field, based on its HcmSharedParameters value. (Inherited from HcmPositionCopyBase.) |
| setDateTimeFromDataSource | Determines the point in time that is used in queries that involve date-effective tables. (Inherited from HcmPositionCopyBase.) |
| setEffectiveDates | Sets the effective dates that are used in the class. (Inherited from HcmPositionCopyBase.) |
| setPositionForecastScenarioDuration | Saves Forecast position duration. |
| 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.) |
| unpack | Deserializes the packedClass parameter value to an instance of the HcmPositionForecastCopy class. |
| usageCount | Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.) |
| validate | Evaluates the data that will be used in the copy process and determines whether it is valid. (Inherited from HcmPositionCopyBase.) |
| validatePositionForecast | Validates the dates and the number sequence for the forecast position to be created. |
| wait | Pauses a process. (Inherited from Object.) |
| xml | Returns an XML string that represents the current object. (Inherited from Object.) |
| ::create | Creates an instance of the HcmPositionForecastCopy class on the server and sets the properties of the class from the supplied container. |
| ::main | Provides an entry point for the HcmPositionForecastCopy class when it is called from a menu item. |
| ::runOnServer | Creates a new HcmPositionForecastCopy on the server and sets the properties of the class from the supplied container. |
Community Additions
ADD
Show: