Once you have set up a Provisioning Company selecting InfoScript as the Order Processor, the InfoScript folder is available.
Double-click InfoScript to open the InfoScript settings list. These settings allow a script to initialize a set of default settings and values the first time it is invoked.

The InfoScript window contains the following information.
Name
The name of the setting.
Value
The value of the setting.
Right-click on a row and select New Row.

Enter the Name of the setting.
Enter the Value of the setting.
Click OK. The new setting is added to the list.
Click Save to retain the new entries.
Submenu options in addition to New:
Edit
Opens the selected row to allow changes.
Delete
Removes the selected row from the list.
Note
Appears only if one or more rows exist before you open the list.
Remove New Row
Removes the selected newly added row.
Note
Appears only if one or more rows have been added, but not yet Saved.
Export / Import InfoScript
Whenever the script configured for provisioning export or import is saved, it is validated and any errors are displayed. During execution, any exceptions thrown by the script will be caught and reflected as errors detected during export or import.
The script logic has direct access to the methods and properties of the InfoScript order processor. This includes a property to obtain the Provisioning Order to be exported as well as properties to obtain the text and number of each line being imported. The InfoScript order processor also provides an interface so that manual batch exports can Flush a file and export the Trailer which was created by the script.
Export / Import Helper Classes
The script logic configured for provisioning export or import has direct access to the methods and properties of the InfoScriptOrderProcessor. This means that the methods in that class can be called as if they were functions defined within the script.
Other helper classes are also available to assist in the process of exporting orders and verifying responses, such as RecordWriter, for managing file paths and writing records as well as InfoScriptOrderRecord, for managing individual fields.
InfoScriptOrderProcessor:
Member | Accessibility | Data Type | Parameters |
|---|---|---|---|
ProvisioningOrder | Public Property | ProvisioningOrder | |
RecordWriter | Public Property | RecordWriter | |
OrderRecord | Public Property | InfoScriptOrderRecord | |
LineText | Public Property | string | |
LineNumber | Public Property | int | |
SettingsKeys | Public Property | ICollection | |
Flush | Public Method | void | |
GetSetting | Public Method | string | string settingName |
GetBoolean | Public Method | bool | string settingName |
GetInteger | Public Method | int | string settingName |
PutSetting | Public Method | void | string settingName, string settingValue |
DeleteSetting | Public Method | void | string settingName |
ExportLogFile | Public Property | string | |
ExportFolder | Public Property | string | |
ExportTempFolder | Public Property | string | |
FilePath | Public Property | string | |
FileState | Public Property | int | |
ImportFolder | Public Property | string | |
ImportTempFolder | Public Property | string | |
NumberOfRecords | Public Property | int | |
SequenceNumber | Public Property | int | |
Trailer | Public Property | string | |
MetaContext | Public Property | MetaContext |
ProvisioningOrder:
Member | Accessibility | Data Type | Parameters |
|---|---|---|---|
OrderDetails[0] | Public Property | OrderDetail | |
Customer | Public Property | Customer |
OrderDetail:
Member | Accessibility | Data Type | Parameters |
|---|---|---|---|
orderDetailId | Public Property | string | |
Product | Public Property | Product | |
action | Public Property | string | |
dateTime | Public Property | DateTime |
Product:
Member | Accessibility | Data Type | Parameters |
|---|---|---|---|
type | Public Property | int | |
ServiceNumber | Public Property | string | |
AccountCodes | Public Property | AccountCodes | |
BillingNumber | Public Property | string | |
EffectiveDateTime | Public Property | DateTime | |
ServiceStartDate | Public Property | DateTime | |
ServiceTaxAccountType | Public Property | int | |
uniqueId | Public Property | string |
Customer:
Member | Accessibility | Data Type | Parameters |
|---|---|---|---|
CustID | Public Property | int | |
Name | Public Property | string | |
Address | Public Property | Address | |
BillToInformation | Public Property | BillToInformation | |
customerAcctNumber | Public Property | string | |
EstablishDate | Public Property | DateTime | |
TaxAccountType | Public Property | string |
RecordWriter:
Member | Accessibility | Data Type | Parameters |
|---|---|---|---|
SetFilePath | Public Method | string | string inExportDir, string inExportTempDir, string inImportDir, string inImportDoneDir, string inFilePrefix, int inNextSeqNum, string inFilePath, int inFileState, bool printDot |
ContainsHeader | bool | ||
ContainsRecords | bool | ||
ContainsTrailer | bool | ||
WriteHeader | int FileState | string inHeader | |
WriteRecord | int FileState | string inRecord |
InfoDirections.Business.Provisioning.OrderProcessing.OrderProcessingCommon:
Member | Accessibility | Data Type | Parameters |
|---|---|---|---|
GetAttribute | Public Method | Attribute | OrderDetail orderDetail, string attributeName, bool inRequired |
Filler | string | int totalWidth, string paddingChar | |
PadLeft0 | string | string inString, int totalWidth | |
RetrieveNpaCISManager | INpaCISManager | MetaContext metaContext |
InfoDirections.Business.Provisioning.InfoScript.InfoScriptOrderRecord:
Member | Accessibility | Data Type | Parameters |
|---|---|---|---|
InitFields | Public Method | void | int inLength, OrderDetail.EActionType inAction |
CreateField | Public Method | TextFieldFormat | string inName, int inOrdinal |
CreateField | Public Method | TextFieldFormat | string inName, int inLength, int inOrdinal, int inPosition, string inFormat |
FieldsLength | Public Method | int | |
InitValues | Public Method | void | int inLength |
SetField | Public Method | void | int inOrdinal, string inValue, string inName |
ToString | Public Method | string | |
NumberInInventory | Public Method | bool | string inNumber, MetaContext inContext |
ActionType | Public Property | string |