Custom Procedures
Custom procedures execute pre-set SQL scripts to compile information or to execute a command. Custom procedures can be used for exports, manifests, reports, settlements, shipping labels, and can modify dispatch board data.
Custom procedures are available based on user permission under Maintenance Functions > Custom Procedures > Allowed Custom Procedures.
Go to Maintenance > Custom Procedures.
Field Name | Description |
---|---|
ProcedureID | Unique numerical ID for the custom procedure. Quick Tip: CXT predefined custom procedures are represented with a negative ID value. |
Description | Description of the custom procedure. |
SQL | SQL stored procedure to be used for the custom procedure. |
Type | Type of custom procedure.
|
CustomReportFormatID | Custom report format ID used for the custom procedure. |
How to Add a New Custom Procedure
Go to Maintenance > Custom Procedures.
Click the New button in the toolbar.
Alternate Steps
Click the arrow next to the New button, or press the Alt and N keys.
Click Custom Procedure.
How to Copy a Custom Procedure
Go to Maintenance > Custom Procedures.
Right-click on the custom procedure you would like to copy and select Copy.
Enter the new custom procedure procedure ID then click OK.
How to Edit a Custom Procedure
CXT predefined custom procedures (represented with a negative ProcedureID) cannot be edited. You must make a copy if edits are needed.
Go to Maintenance > Custom Procedures.
Double-click on the custom procedure you would like to edit.
How to Delete a Custom Procedure
Go to Maintenance > Custom Procedures.
Right-click on the custom procedure you would like to delete and select Delete.
Confirm by clicking Yes.
Custom Procedure Form
Field | Description |
---|---|
Procedure ID | Unique numerical ID for the custom procedure. |
Description | Description of the custom procedure. |
Procedure Type | Type of custom procedure.
|
These SQL parameters should be included in your custom procedure | Required criteria to for the SQL to run. |
SQL | SQL stored procedure to be used for the custom procedure. |
Report Format | Selected report format to use in the custom procedure. Click Add New to add a new custom report format or click Edit to edit the selected report format. |
Filename | The default filename when saving export procedure type custom procedures. Visible when Output Specification is set to "use literal name". |
Data Field | The declared field name from the SQL of the value to use as the default filename when saving export procedure type custom procedures. Visible when Output Specification is set to "use data field". |
Output Specification | The selected method of how the default filename will be populated for export procedure type custom procedures.
|