Share via


PdsCWFormCtrl Class [AX 2012]

The PdsCWFormCtrl class is the parent class for form controls for the catch weight functionality of the Process Distribution Module

Syntax

class PdsCWFormCtrl extends PmfFormCtrl

Run On

Called

Methods

  Method Description
Hh806915.pubmethod(en-us,AX.60).gif addSubFormCtrl Adds another PmfFormCtrl object as a sub-control. (Inherited from PmfFormCtrl.)
Hh806915.protmethod(en-us,AX.60).gif addUnitMethodCaching Adds the catch weight unit method to the form caching.
Hh806915.pubmethod(en-us,AX.60).gif args Gets the arguments from the associated FormRun object. (Inherited from PmfFormCtrl.)
Hh806915.pubmethod(en-us,AX.60).gif caller Gets a reference to the caller of the associated FormRun object. (Inherited from PmfFormCtrl.)
Hh806915.pubmethod(en-us,AX.60).gif callerBuffer Gets the specified record buffer to the associated FormRun object. (Inherited from PmfFormCtrl.)
Hh806915.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
Hh806915.pubmethod(en-us,AX.60).gif checkRecVersion Indicates whether the record version of the buffer is the same as the record version of the same record in the database. (Inherited from PmfFormCtrl.)
Hh806915.pubmethod(en-us,AX.60).gif clearCache Clears the advanced caching. (Inherited from PmfFormCtrl.)
Hh806915.pubmethod(en-us,AX.60).gif dataSourceActivePost Executes after the standard code in the active form data source event. (Inherited from PmfFormCtrl.)
Hh806915.pubmethod(en-us,AX.60).gif dataSourceCreatePre Sets information before a new record is created in the primary datasource for the class instance (Overrides the dataSourceCreatePre Method.)
Hh806915.pubmethod(en-us,AX.60).gif dataSourceDeletePost Executes after the standard code in the delete form data source event. (Inherited from PmfFormCtrl.)
Hh806915.pubmethod(en-us,AX.60).gif dataSourceInitPost Performs logic after the datasource on the form is initiated. (Overrides the dataSourceInitPost Method.)
Hh806915.pubmethod(en-us,AX.60).gif dataSourceInitValuePre Executes after the standard code in the initValue form data source event. (Inherited from PmfFormCtrl.)
Hh806915.pubmethod(en-us,AX.60).gif dataSourceLinkActivePost Executes after the standard code in the linkActive form data source event. (Inherited from PmfFormCtrl.)
Hh806915.pubmethod(en-us,AX.60).gif dataSourceLinkActivePre Executes before the standard code in the linkActive form data source event. (Inherited from PmfFormCtrl.)
Hh806915.pubmethod(en-us,AX.60).gif dataSourceValidateDelete Validates the deletion in a data source. (Inherited from PmfFormCtrl.)
Hh806915.pubmethod(en-us,AX.60).gif dataSourceValidateWrite Validates the datasource before writing the record. (Overrides the dataSourceValidateWrite Method.)
Hh806915.pubmethod(en-us,AX.60).gif dataSourceWritePost Executes after a write to a data source is performed. (Inherited from PmfFormCtrl.)
Hh806915.pubmethod(en-us,AX.60).gif dataSourceWritePre Checks the datasource record before writing the record. (Overrides the dataSourceWritePre Method.)
Hh806915.pubmethod(en-us,AX.60).gif determineButtonStates Implements advanced caching for specific rules. (Inherited from PmfFormCtrl.)
Hh806915.protmethod(en-us,AX.60).gif enableDSField Enables or disables the specified field in the data source. (Inherited from PmfFormCtrl.)
Hh806915.protmethod(en-us,AX.60).gif enableFormControl Enables or disables the specified form control. (Inherited from PmfFormCtrl.)
Hh806915.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
Hh806915.pubmethod(en-us,AX.60).gif fieldLookup Performs a lookup for a specified field. (Inherited from PmfFormCtrl.)
Hh806915.pubmethod(en-us,AX.60).gif fieldModified Processes a modified field. (Overrides the fieldModified Method.)
Hh806915.pubmethod(en-us,AX.60).gif fieldValidate Performs validation on a specified field. (Inherited from PmfFormCtrl.)
Hh806915.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
Hh806915.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
Hh806915.pubmethod(en-us,AX.60).gif initPost Executes after a call to the init method. (Inherited from PmfFormCtrl.)
Hh806915.pubmethod(en-us,AX.60).gif initPre Executes before a call to the init method. (Inherited from PmfFormCtrl.)
Hh806915.pubmethod(en-us,AX.60).gif menuItemName Gets the command name that is defined in the arguments of the class. (Inherited from PmfFormCtrl.)
Hh806915.protmethod(en-us,AX.60).gif new Initializes a new instance of the PdsCWFormCtrl class. (Overrides the new Method.)
Hh806915.pubmethod(en-us,AX.60).gif notify Releases the hold on an object that has called the wait method on this object. (Inherited from Object.)
Hh806915.pubmethod(en-us,AX.60).gif notifyAll Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.)
Hh806915.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
Hh806915.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
Hh806915.pubmethod(en-us,AX.60).gif parmBuffer Gets or sets the primary table buffer that this control will manage. (Inherited from PmfFormCtrl.)
Hh806915.pubmethod(en-us,AX.60).gif parmCWValidation Gets or sets the value of the cwValidation parameter.
Hh806915.pubmethod(en-us,AX.60).gif parmFieldIds Gets or sets the value of the fiedlIds parameter.
Hh806915.pubmethod(en-us,AX.60).gif parmFormDataSource Gets or sets the primary form data source that this control will manage. (Inherited from PmfFormCtrl.)
Hh806915.pubmethod(en-us,AX.60).gif parmFormRun Gets or sets an instance of the FormRun class that this control will manage. (Inherited from PmfFormCtrl.)
Hh806915.pubmethod(en-us,AX.60).gif parmItemFieldId Gets or sets the value of the itemFieldId parameter.
Hh806915.pubmethod(en-us,AX.60).gif parmUnitFieldId Gets or sets the value of the unitFieldId parameter.
Hh806915.pubmethod(en-us,AX.60).gif parmUnitMethodStr Gets or sets the value of the unitFieldId parameter.
Hh806915.protmethod(en-us,AX.60).gif refreshManager Refreshes all the buttons that are registered by using the FormButtonManager that is associated with this form control. (Inherited from PmfFormCtrl.)
Hh806915.protmethod(en-us,AX.60).gif registerCtrlRule Registers a handling rule for the current object. (Inherited from PmfFormCtrl.)
Hh806915.protmethod(en-us,AX.60).gif registerCtrlRuleNoGroup Registers a handling rule for the current object. (Inherited from PmfFormCtrl.)
Hh806915.pubmethod(en-us,AX.60).gif runPre Executes before a call to the run method. (Inherited from PmfFormCtrl.)
Hh806915.pubmethod(en-us,AX.60).gif setDatasources Sets the data sources that are used in the rule computation process. (Inherited from PmfFormCtrl.)
Hh806915.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
Hh806915.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
Hh806915.protmethod(en-us,AX.60).gif updateDesign Updates the form design. (Overrides the updateDesign Method.)
Hh806915.pubmethod(en-us,AX.60).gif usageCount Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.)
Hh806915.protmethod(en-us,AX.60).gif visibleDSField Indicates whether the specified field in the data source is visible. (Inherited from PmfFormCtrl.)
Hh806915.protmethod(en-us,AX.60).gif visibleFormControl Sets the visible property of a specified form control. (Inherited from PmfFormCtrl.)
Hh806915.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
Hh806915.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)
Hh806915.pubmethod(en-us,AX.60).gif Hh806915.static(en-us,AX.60).gif ::construct Initializes a new instance of the PdsCWFormCtrl class.
Hh806915.pubmethod(en-us,AX.60).gif Hh806915.static(en-us,AX.60).gif ::constructFromForm Creates and initializes a new instance of the PdsCWFormCtrl class.

Top

Remarks

Extend this class for any forms which require catch weight functionality beyond just displaying the information.

Inheritance Hierarchy

Object Class
  PmfFormCtrl Class
    PdsCWFormCtrl Class
      PdsCWFormCtrl_BOMConsistsOf_BOMStep Class
      PdsCWFormCtrl_LastBox Class
      PdsCWFormCtrl_ManualItem Class
      PdsCWFormCtrl_Min Class
      PdsCWFormCtrl_ProdBOM_Step Class
      PdsCWFormCtrl_ProdJournalRoute Class
      PdsCWFormCtrl_QOLineResults Class
      PdsCWFormCtrl_Std Class