Model Design Commands
Model design commands include:
Model Commands
Table 14-10 Model Commands
| Command | What it Does | Criteria | Sample Prompts | See Also |
|---|---|---|---|---|
| Create Model |
Creates a new model with the given name, optional description, and optional context. |
|
create model create model Profit Model description FY25 allocation model context Product.NoProduct and Activity.NoActivity create model Planning Model description Sandbox for allocations |
Using PCM Agent to Create a Model |
| Calculate Model | Calculates a model and one or more points of view |
|
calculate model calculate model 10 Actuals Allocation Process calculate model 10 Actuals Allocation Process for POV FY24::Jan::Actual::Working calculate model for POV range FY24 Jan to FY24 Mar calculate only custom rules calculate rule Activity Costing Assignments calculate model and clear calculated values first calculate model and save as job Calculate FY24 Jan run calculation job Calculate FY24 Jan |
Using PCM Agent to Calculate a Model |
| Copy Model | Copies an existing model into a new model with a new name. |
|
copy model 10 Actuals Allocation Process to 10 Actuals Allocation Process Copy duplicate model 10 Actuals Allocation Process to 10 Actuals Allocation Process Copies copy current model to New Copy Model create a copy of model 10 Actuals Allocation Process duplicate model Source Model to Target Model clone model Source Model named Target Model |
|
| List Models | Finds and summarizes models. It can list models, count them, search by name or description, filter by creator or modifier, filter by rule or ruleset counts, sort by model metadata, limit the number of results, and include rule counts or model statistics. |
|
list models show model stats show models with rule count show models containing Actuals count models show model summary show models with enabled rule count show models containing allocation process show model metrics for '10 Actuals Allocation Process' |
|
| Validate Model | Validates your rules before you calculate them against a data POV | Model Name |
validate model '10 Actuals Allocation Process' run model validation for '10 Actuals Allocation Process' |
Using PCM Agent to Validate a Model |
Rule Set Commands
Table 14-11 Rule Set Commands
| Command | What it Does | Criteria | Sample Prompts |
|---|---|---|---|
| Create Rule Set | Creates a rule set |
|
for model Profit Model create ruleset Product Allocation description Product rules sequence 10 use model context true enable true In model TestModel, create ruleset RS1 For model TestModel, create rule set RS2 |
| List Rule Sets | Finds and reviews rulesets for a model. It can list rulesets, count them, filter by model or name, include rule type counts, and locate rulesets that contain specific rules. |
|
list rulesets in model Forecast Model list rulesets in model "10 Actuals Allocation Process" show all rule sets under 20 Forecast What-If Allocation Process |
Rule Commands
Table 14-12 Rule Commands
| Command | What it Does | Criteria | Sample Prompts |
|---|---|---|---|
| Create Rule | Creates an allocation or custom calculation rule in a selected model and rule set |
|
create allocation rule Product Cost in ruleset Product Allocation description Allocate product costs sequence 5 in model Profit Model create custom rule Driver Rate in ruleset Operating Rules description Unit driver rate use ruleset context true enable true in model Forecast Model create allocation rule Utility Expense in ruleset Department Allocations before Rent Expense |
| List Rules | Helps you find and review calculation rules. It can list, search, filter, count, and page rules by various criteria. |
|
list all rules in ruleset Sales Allocations within model Profit Model list rules from Occupancy Expense Allocations list allocation rules where source component contains member Rent Expense from dimension Account within model Planning Model |
| Enable Rules | Allows selected rules in a model to be used in calculations |
|
enable rules enable rules in ruleset Preprocessing Currency Translation enable rules in model 10 Actuals Allocation Process |
| Disable Rules | Disables selected rules in a model so they are not used in calculations |
|
disable rules in ruleset Preprocessing Currency Translation disable rules in model 10 Actuals Allocation Process disable rules |
| Copy Rules to Rule Set | Copies selected rules from one ruleset to another within the same model |
|
copy rule Driver Allocation into ruleset Test Rules overwriting existing rules from model Source Planning copy all allocation rules into ruleset Target Rules copy all rules from rulesets Product Allocations and Driver Rules into ruleset Reporting Rules |
| Copy Rules to Model | Copies selected rules from one model to another |
|
copy rule Customer Cost Assignment into model Forecast Model overwriting existing rules source model Source Planning copy all allocation rules into model Target Planning copy all rules from rulesets Operating Rules and Driver Rules to model Reporting Model |
| Add Member | Adds one or more members to selected rules or rule components in a model |
|
for model Profit Model add members CC300 and CC400 from Entity to Source component for rules all add members Product100 and Product200 from Product to Driver component for rule Product Allocation in model Planning Model for model Profit Model add members CC100 and CC200 from Entity to Destination component for rules within ruleset Customer Allocations |
| Replace Member | Replaces a member with another across selected rules or rule components |
|
replace source member Old Account with New Account for Account in all rules within model Forecast Model replace within the source component for dimension Account find member Old Rent with new member New Rent for all rules within model Forecast Model replace destination member Old Product with New Product in rule Product Allocation for model Planning Model dimension Product |