HcmPositionCopy Class [AX 2012]
The HcmPositionCopy class controls the bulk creation of position data based on 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 a source position to a destination position record. |
| copyDefaultDimension | Copies the position default dimension data from a source position to a destination position record. |
| copyFinancialDimensions | Copies the financial dimension related data from a source position to a destination position record. |
| copyLaborUnion | Creates a record in the HcmPositionUnionAgreement table, based on the parameters that are passed in. |
| copyPayroll | Copies the PayrollPositionDetails data from the source position to the destination position record. |
| copyPayrollPositionDetail | Copies the PayrollPositionDetails data from the source position to the destination position record. |
| copyPositionDetail | Creates a record in the HcmPositionDetail table from the specified parameters. |
| copyPositionDuration | Creates a record in the HcmPositionDuration table from the specified parameters. |
| copyRelationships | Copies the reporting relationship related data from a source position to a destination position record. |
| copyWorkersCompensation | Copies the PayrollPositionWorkerCompensation data from the source position to the destination position record. |
| createCopyPositionPosId | Generates a value for the PositionId field by using a number sequence or user-defined parameters. (Inherited from HcmPositionCopyBase.) |
| createNewPositions | |
| 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 | Initializes the 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 a new instance of the HcmPositionCopy 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 HcmPositionCopy class. (Overrides the pack Method.) |
| parmAsOfDateTime | Gets or sets the AsOfDateTime parameter. (Inherited from HcmPositionCopyBase.) |
| parmDestinationPositionRecId | Gets or sets the DestinationPositionRecId parameter. (Inherited from HcmPositionCopyBase.) |
| 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.) |
| 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.) |
| 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 HcmPositionCopy 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.) |
| wait | Pauses a process. (Inherited from Object.) |
| xml | Returns an XML string that represents the current object. (Inherited from Object.) |
| ::create | Creates a new instance of the HcmPositionCopy class on the server and sets the properties of the class from the specified container. |
| ::main | Provides an entry point for the HcmPositionCopy class when it is called from a command. |
| ::runOnServer | Creates a new instance of the HcmPositionCopy class on the server and sets the properties of the class from the supplied container. |
Community Additions
ADD
Show: