The executeDataRule method executes a data rule after validating the parameters passed with the rule. If the parameter is invalid, error messages are displayed.
Parameter Name | Valid Values | Associated Error Codes | Comments |
---|---|---|---|
String pUserName String pPassword String pSSOToken | AIF_ERR_00002:Invalid User Name/Password combination. AIF_ERR_00001:Invalid Token | Of these three parameters you should pass either the username and password or a valid sso_token. | |
String pImportFromSource | Y/N | AIF_ERR_00005:Invalid value for Import From Source Parameter | |
String pExportToTarget | Y/N | AIF_ERR_00006:Invalid value for Export to Target Parameter | |
String pRuleName | AIF_ERR_00004:Invalid Data Rule Name | The name of the data rule for a location. | |
String pExecutionMode | INCREMENTAL/SNAPSHOT | AIF_ERR_00007:Invalid value for Execution mode | Data rule execution mode |
String pLoadExchangeRateFlag | Y/N | AIF_ERR_00008:Invalid value for Load Exchange Rate Flag | This parameter can be used only in case of multi-currency applications. |
String pStartPeriodName | Start Period name | AIF_ERR_00010:Invalid Period Keys | |
String pEndPeriodName | End Period name | AIF_ERR_00010:Invalid Period Keys | |
String pSyncMode | TRUE/FALSE | AIF_ERR_00009:Invalid value for sync mode | This parameter represents where the execution should take place synchronously or asynchronously. Value of True executes the job synchronously. |