Use the Document properties form to enter the properties to be used in the CAD application.
Fields
You can choose existing Isah fields as the document properties, use a script to create properties, or specify a fixed value. To use an existing Isah field, select 'Field'. To control the contents using a custom script, select 'Script'. To specify a fixed value, select 'Fixed value'.
If you selected 'Field' in the Type field, select the field that is to supply the value for the document properties. For example, you could select 'Part code' if you want to use a part code in a document property of a CAD document.
If you selected 'Script' in the Type field, select the script that is to control the document property. The script can be executed only if it contains the following input parameters: IsahTableId, IsahPrimKey, and BomLineNr. Parameters allow you to retrieve additional information.The result of the script is the value added to the document property.
You could add a script that displays the customer name instead of the customer code.
This script would in any case need to contain the following elements:
Function DocPropScript(IsahTableId, IsahPrimKey)
DocPropScript = "..."
End Function
If you selected 'Script' in the Type field, enter the name of the function within the script that will determine the value of the property. If you leave this field blank, the function name 'Main' will be used.
If you selected 'Fixed value' in the Type field, enter the value to be included in the document property. You could specify your company name, for instance, so that the recipients of the document will know where it came from.