JmgJobBundleProjStartupForm.validateCategoryId Method [AX 2012]
Retrieves whether a legal cost category was entered by the user.
Syntax
private boolean validateCategoryId(JmgTmpJobBundleProjStartup _jmgTmpJobBundleProjStartup)
Run On
Called
Parameters
- _jmgTmpJobBundleProjStartup
Type: JmgTmpJobBundleProjStartup Table
A JmgTmpJobBundleProjStartup record that the cost category should be validated for.
Return Value
Type: boolean
true if the entered cost category was valid; otherwise, false.
Examples
The following example shows how the validateCategoryId method is used from the JmgJobBundleProjStartupForm.canClose Method.
public boolean canClose(JmgTmpJobBundleProjStartup _projStartup)
{
boolean ret;
ret = true;
while select _projStartup
{
ret = this.validateCategoryId(_projStartup);
}
return ret;
}