$$PKG2IEN^VSIT(PKG)
Returns a pointer to the Package file when you pass in the package name space
or name. The pointer to the package is required for some calls to PCE. This
function is provided so that the calling packages all do not have to do this
lookup themselves.
Parameter Description:
PKG Package name space or name
Returned Value:
>0 Pointer to the package in the Package file #9.4
-1 If called without PKG or if could not find the
package in the Package file.
$$PKGON^VSIT(PKG)
Returns the active flag for the package. A package that is active can create
Visits. PCE will be creating the Visits for most packages so they will not
need to be active. Only PCE will need to be active to create the visit for
them.
Parameter Description:
PKG Package name space or name
Returned Value:
1 The package can create visits (active)
0 The package cannot create visits (not active)
-1 Called wrong or could not find package in
Visit Tracking Parameters file # 150.9
|