Create Resource For Class With Name

This command is used to create the resource name with the class name. If an automatic relation is defined for a child or parent class name, the relation automatically creates the resource name.

Syntax
Create Resource For Class With Name: <class name>.<resource name>;
Example
Create a resource with name “Product 1” for class “Products”.
Create Resource For Class With Name: Products.Product 1;
This table lists the exception conditions and the related error message (if applicable) during the execution of the command:
Condition Message
If class is invalid.
APACS110=There is no class defined with name "{0}".

{0} = class name.

If class is an allocation class.
APACS194=Cannot create resource "{1}" for allocation class "{0}".  Allocation resources cannot be created with this workflow command.
  • {0} = class name.
  • {1} = resource name
Note: The values are not changed.
If resource already exists for the class.
APACS138=Resource with name "{1}" already exists for class "{0}".
  • {0} = class name.
  • {1} = resource name
Note: The values are not changed.