This documentation is archived and is not being maintained.
ProjBudgetImportBatch.validateImport Method [AX 2012]
Validates if all the pre-requsites for the import are valid and warns the user of errors.
public boolean validateImport([boolean _forcePrompt])
Run On
Server
Parameters
-
_forcePrompt
- Type: boolean
Do we force the error dialogs.
Return Value
Type:
boolean
true if ready to import, false otherwise.
| Exception | Condition |
|
Error
|
Project stage does not allow recording.
-or-
Source cannot be empty.
|
The purpose of _forcePrompt parameter is to determine if we want to prompt the user, regardless of the execution mode, which may error out if in CIL.