JmgJobBundleProdFeedbackForm Class [AX 2012]

The JmgJobBundleProdFeedbackForm class supports the JmgJobBundleProdFeedback form.

Syntax

class JmgJobBundleProdFeedbackForm

Run On

Called

Methods

  Method Description
Gg739148.pubmethod(en-us,AX.60).gif cancel Cancels production postings on the job bundle.
Gg739148.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
Gg739148.pubmethod(en-us,AX.60).gif canClose Hooks into the canClose method of the JmgJobBundleProjStartupForm Class.
Gg739148.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
Gg739148.pubmethod(en-us,AX.60).gif getProductionParameters Gets the production parameters for the specified job.
Gg739148.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
Gg739148.pubmethod(en-us,AX.60).gif getTmpJobBundleProdFeedback Retrieves a JmgTmpJobBundleProdFeedback record.
Gg739148.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
Gg739148.pubmethod(en-us,AX.60).gif new Initializes a new instance of the JmgJobBundleProdFeedbackForm class.
Gg739148.pubmethod(en-us,AX.60).gif noOfFoundRecords Retrieves the number of jobs to provide feedback on.
Gg739148.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.)
Gg739148.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.)
Gg739148.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
Gg739148.pubmethod(en-us,AX.60).gif onClose Hooks into the close method of the JmgJobBundleProdFeedback form.
Gg739148.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
Gg739148.pubmethod(en-us,AX.60).gif quantityChanged Recalculates the BOM consumption for a record in the JmgTmpJobBundleProdFeedback table.
Gg739148.protmethod(en-us,AX.60).gif saveQuantities Saves the quantities that are provided by the user in the JmgJobBundle object.
Gg739148.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
Gg739148.pubmethod(en-us,AX.60).gif showBOM Displays the BOM for the registrations in the specified temporary buffer.
Gg739148.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
Gg739148.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.)
Gg739148.pubmethod(en-us,AX.60).gif validateMaxReportQuantity Validates that the maximum allowed quantity for feedback reporting has not been exceeded.
Gg739148.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
Gg739148.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)
Gg739148.pubmethod(en-us,AX.60).gif Gg739148.static(en-us,AX.60).gif ::validateFeedbackQuantity Validates a quantity that is entered by the user.

Top

Remarks

The form prompts the user to input feedback quantities when they make stop registrations on production jobs. Based on an instance of the JmgJobBundle class, the JmgJobBundleProdFeedbackForm class initializes two temporary tables, JmgTmpJobBundleProdFeedback and JmgTmpBOMConsump , that contain feedback data and consumption data respectively, which is presented to the user. When the JmgJobBundleProdFeedback form closes, the data entered in the JmgTmpJobBundleProdFeedback table is saved back into the JmgJobBundle object .Data in the JmgTmpBOMConsump table is used to create and post a picking list journal with the entered values. Use the JmgJobBundleProdFeedbackForm class only from the JmgJobBundleProdFeedback form.

Examples

The following example shows how the JmgJobBundleProdFeedbackForm class is used from the JmgJobBundleProdFeedback form.

// From \Forms\JmgJobBundleProdFeedback\Methods\init 
  
public void init()
{
    JmgRegistrationSetup    registrationSetup;
    touch = JmgExternalTerminalTable::findOrCreate(JmgExternalTerminalTable::getClientId(),JmgTermType::AxaptaClient).TouchScreen;

    if (!SysDictClass::isEqualOrSuperclass(classidget(element.args().parmObject()), classnum(JmgJobBundle)))
    {
        throw error(strfmt("@SYS22862", formstr(JmgJobBundleProdFeedback)));
    }

    super();
    prodFeedbackForm = new JmgJobBundleProdFeedbackForm(element.args().parmObject(), element.args().parmEnum());

    jmgTmpJobBundleProdFeedback.setTmpData(prodFeedbackForm.getTmpJobBundleProdFeedback());

    if (element && element.args())
    {
        registrationSetup = element.args().record();
    }

    headlineText.text(strfmt("@SYS301770",prodFeedbackForm.noOfFoundRecords()));

    approveClose = false;

    if (touch)
    {
        this.touchEnableClient();
    }
    editErrorCause.enabled(editErrorCause.visible(touch));

    errorLookupOpen = false;
    element.initButton();
}

Inheritance Hierarchy

Object Class
  JmgJobBundleProdFeedbackForm Class

See Also

JmgJobBundle Class

JmgJobBundleFeedback Class

JmgTmpJobBundleProdFeedback Table