.MWNET directive extension for .lst/.spt

<< Click to Display Table of Contents >>

Navigation:  SP 0.0 > Enhancements > Scripting >

.MWNET directive extension for .lst/.spt

The ".MWNET" directive for .lst/.spt definition allows now the possibility to drop-in specific event execution.

The extended format is:

.MWNET [objectName]

where [objectName], if specified, must match the DBWorksEventScriptType specification + implementation_class (EVENT:XXX or FIELD:YYY or FIELD_SPT:KKK or UTILITY:ZZZ) in MwPDMEvents.dll.

For standard/default event execution, no objectName must be specified.

 

As an example, with the OnOk.lst:

-default execution (OnOk class in MWPDMWEvents) is performed in case of OnOk.lst content like:

.MWNET

-specific event execution (OnOk_SW class in MWPDMWEvents) is performed in case of OnOk.lst content like:

.MWNET EVENT:OnOk_SW