Share via


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

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; 
} 

See Also

JmgJobBundleProjStartupForm Class

ProjValCheckTrans Class