All Frameworks Object Hierarchy This Framework Indexes
OrderGenerator (Object)
IUnknown
|
+---IDispatch
|
+---CATBaseUnknown
|
+---CATBaseDispatch
|
+---AnyObject
|
+---OrderGenerator
Interface representing Create Shop Order APIs which generates Shop Order Instance(SOI),
against user-given option(s).
Following gvies the major-steps encountered in a single SOI generation
1) Logs in and secures connection with DPE.
2) Loads the specified job Node.
3) Reslves the Work Instrucitons.
4) Captures Images for activities
5) Generates JobXML and Precedence XML
6) Generates PackNGo data ( Lite or Full)
7) Zips the SOI contents.
8) FTPs the zipped file to FTP server
9) Updates the Release table.
10) Disconnects from DPE.
Role: Component that implement DNBIAOrderCreation is "OrderGenerator"
Do not extend this interface
Example : Refer to CreateShopOrder.CATScript or CreateSOI CATScript
at intel_a\VBScript\DPM_SOR
Method Index
-
CreateShopOrder
- Create Shop Order method
-
CreateShopOrder2
- Create Shop Order using XML as SOI input.
-
GetErrorDescription
- Get Error Description.
-
set_DPELoginInfo
- Set DPE Login Information.
-
set_Export3DXML
- Set Export 3D XML Flag.
-
set_ExportImageCapture
- Set Export Image Capture Flag.
-
set_ExportJobXML
- Set Export Job XML Flag.
-
set_ExportPrecXML
- Set Export Precedence XML Flag.
-
set_FTP
- Set FTP Flag.
-
set_FTPServerInformation
- Set FTP Information.
-
set_FilterInputString
- Set Filter String.
-
set_GeneratePackNGo
- Set Generate PackNGo Flag.
-
set_LitePackNGo
- Set Lite PackNGo Flag.
-
set_ManufacturingContext
- Set Manufacturing Context Flag.
-
set_ProcessName
- Set Process Name.
-
set_RequestType
- Set Request Type.
-
set_RequestedNodeDetails
- Set Requested Node Details.
-
set_SetEncryptionMode
- Set Encryption Mode.
-
set_TransactionID
- Set Transaction Type.
-
set_UpdatereleaseTable
- Set Update Release Table Flag.
-
set_Zip
- Set Zip Flag.
Methods
o Func CreateShopOrder( | ) As short |
-
Create Shop Order method
- Returns:
- SOI response, which in-turn can be obtained using
OrderGenerator.GetErrorDescription
o Sub CreateShopOrder2( | CATBSTR | iXMLInput) |
-
Create Shop Order using XML as SOI input.
- Parameters:
-
- iXMLInput
- XML input file path
Sample schema: Refer intel_a\resources\xsd\DPM_SOR\CreateSOI.xsd
Sample XML input: Refer intel_a\resources\xml\DPM_SOR\CreateSOI.xml
o Func GetErrorDescription( | short | ErrorCode) As CATBSTR |
-
Get Error Description.
It deciphers return ERROR code of Create Shop Order API.
- Parameters:
-
- iErrorCode
- Create Shop Order API return code
- Returns:
- oErrDescription Create Shop Order API return code description
-
Set DPE Login Information.
- Parameters:
-
- iDPELoginId
- E5 Login ID for authentication
- iDPEPassword
- E5 Password for authentication
o Sub set_Export3DXML( | boolean | iRequired) |
-
Set Export 3D XML Flag.
- Parameters:
-
- iRequired
-
Legal values: TRUE/FALSE
o Sub set_ExportImageCapture( | boolean | iRequired) |
-
Set Export Image Capture Flag.
- Parameters:
-
- iRequired
-
Legal values: TRUE/FALSE
o Sub set_ExportJobXML( | boolean | iRequired) |
-
Set Export Job XML Flag.
- Parameters:
-
- iRequired
-
Legal values: TRUE/FALSE
o Sub set_ExportPrecXML( | boolean | iRequired) |
-
Set Export Precedence XML Flag.
- Parameters:
-
- iRequired
-
Legal values: TRUE/FALSE
o Sub set_FTP( | boolean | iRequired) |
-
Set FTP Flag.
- Parameters:
-
- iRequired
-
Legal values: TRUE/FALSE
-
Set FTP Information.
- Parameters:
-
- iftpHostName
- Service Host Name for transferering the data
- iftpLoginName
- Login Name for authentication to the Service Host Machine for transfering the data
- iftpPassword
- Password for the above login
- iftpOutputlocation
- Output Dir where to tranfer the data in the Machine
o Sub set_FilterInputString( | CATBSTR | ifilterInputString) |
-
Set Filter String.
- Parameters:
-
- ifilterInputString
- The filters to be set (This is a list of values separated by XML delimiters)
The following delimiters are supported
- Filter Value
- ID of Calculation Model Filter
- Filter Value
- ID of Calculation Model Filter
- Filter Value
- ID of Calculation Model Filter
- Filter Value
- Filter Value
- Filter Value
- Filter Value
- Filter Value
- Filter Value
- ID of Planning State
- ID of Planning State
- TRUE or FALSE
- Filter Value
- ID of Calculation Model Filter
- Filter Value
- ID of Calculation Model Filter
- Filter Value
- ID of Calculation Model Filter
Example:
Process Type ALabel B10
The order is NOT important. e.g., "..." can come before "..."
o Sub set_GeneratePackNGo( | boolean | iRequired) |
-
Set Generate PackNGo Flag.
- Parameters:
-
- iRequired
-
Legal values: TRUE/FALSE
o Sub set_LitePackNGo( | boolean | iRequired) |
-
Set Lite PackNGo Flag.
- Parameters:
-
- iRequired
-
Legal values: TRUE/FALSE
o Sub set_ManufacturingContext( | boolean | iRequired) |
-
Set Manufacturing Context Flag.
- Parameters:
-
- iRequired
-
Legal values: TRUE/FALSE
o Sub set_ProcessName( | CATBSTR | iprocessName) |
-
Set Process Name.
- Parameters:
-
- iprocessName
- Process Name to be set for PackNGo CATProcess
o Sub set_RequestType( | CATBSTR | iRequsetType) |
-
Set Request Type.
- Parameters:
-
- iRequestType
- Type Of Request
- DPMSingleSOIGeneration
- DPMMultiSOIGeneration
- DPMMultiSOIGenerationAtCS
-
Set Requested Node Details.
- Parameters:
-
- iProjID
- Object ID of the PPR Based Project
- iRequestedNodeID
- Object ID of the node selected from PPR Based Project
- iEffectivity
-
THIS PARAMETER HAS BEEN DEPRICATED FROM R17SP1
USE
OrderGenerator.set_FilterInputString method to set your filters
o Sub set_SetEncryptionMode( | boolean | iEncryptmode) |
-
Set Encryption Mode.
- Parameters:
-
- iEncryptmode
- Encryption to be done?(True\False) for encrypting the SOR Package data
o Sub set_TransactionID( | CATBSTR | iTransactionID) |
-
Set Transaction Type.
- Parameters:
-
- iTransactionID
- Transaction ID
o Sub set_UpdatereleaseTable( | boolean | iRequired) |
-
Set Update Release Table Flag.
- Parameters:
-
- iRequired
-
Legal values: TRUE/FALSE
o Sub set_Zip( | boolean | iRequired) |
-
Set Zip Flag.
- Parameters:
-
- iRequired
-
Legal values: TRUE/FALSE