Skip to content

pacx script table

github-actions[bot] edited this page Jul 22, 2025 · 2 revisions

Generates PACX script for a single table.

Usage

This command generates a PACX script for a single table.

If requested, the generated CSV file will contain only the statecode and statuscode fields for the entity, for documentation purposes.

Example usage:

pacx script table --tableName "custom_mytable" --customPrefixs "custom_" --output "C:/output" --scriptFileName "myscript.ps1" --stateFileName "state-fields.csv" --includeStateFields

Arguments

Long Name Short Name Required? Description Default value Valid values
tableName tn Y Logical name of the table. - String
customPrefixs cp Y Comma-separated custom prefixes for entities and fields. - String
output o N Output directory for generated files. - String
scriptFileName script N Name for the generated PACX script file. pacx_datamodel_script.ps1 String
stateFileName state N Name of the CSV file that will contain the state fields. state-fields.csv String
includeStateFields i N If true, exports the statecode and statuscode fields as CSV. - true, false

Command list

Clone this wiki locally