cpaitemsetup
- Organization of this page
Function
Sets up or unsets up the custom item creation environment.
Executing this command creates a shortcut to the Item Design View in the Windows Start menu, which makes it easier for you to open and use the Item Design View.
For details on the functionality available to create items in the Item Design View, see 5. Business Operations Planning with CPA.
Format
cpaitemsetup [-u]
Permission for execution
Administrator privileges
Arguments
- -u
-
Unsets up the custom item creation environment.
If you specify the option, the shortcut Item Design View is deleted from JP1_Client Process Automation in the Windows Start menu so that no one can open and use the Item Design View from there.
- No option
-
Sets up the custom item creation environment.
If you do not specify the option, the short cut Item Design View is registered in JP1_Client Process Automation in the Windows Start menu so that users can open and use the Item Design View from there.
Return values
0 |
Succeeded |
52 |
Permission denied |
58 |
Invalid argument |
111 |
An error occurred during the attempt to access the Item Design View settings file (itemdesign_config.xml).
|
123 |
The execution environment is invalid. |
125 |
System error |
Environment requirements
This command can run regardless of whether the job execution service is running or stopped.
This command can run regardless of whether the message communication service is running or stopped.
Command stored in:
install-path\bin
Note that the command is stored in the following folder by default.
- In a 32-bit operating system:
-
%ProgramFiles%\Hitachi\JP1CPA\bin
- In a 64-bit operating system:
-
%ProgramFiles(x86)%\Hitachi\JP1CPA\bin
Notes
-
If you start the Item Design View before setting up the custom item creation environment or after unsetting up the custom item creation environment, the following message appears:
KNAO4103-E: Setup of building environment for customized items is not finished. Creating customized items view cannot be started.
-
Even after you unset up the custom item creation environment by executing this command, you might still find the shortcut to the Item Design View in the Windows Start menu. If this happens, restart the OS on the machine on which you have unset up the custom item creation environment.
-
If, after setting up the custom item creation environment by executing this command, you decide to change the OS language setting, you have to first unset up the custom item creation environment.
-
If you decide to uninstall CPA after you set up the custom item creation environment by executing this command, you have to first unset up the custom item creation environment.
-
If this command ends abnormally, follow the instructions provided in the output error message. If the problem persists, copy the file itemdesign_config.xml.model under data-path\conf, rename it as itemdesign_config.xml, and then re-execute the command.