Routines for netc_mig.kb


AlignAttribLists

File Name

netc_mig.kb

Syntax

None

Parameters

None

Returns

None

Side Effects

None

Description

None

Dialog Forms Called

None


DefineAttribute

File Name

netc_mig.kb

Syntax

None

Parameters

None

Returns

None

Side Effects

None

Description

None

Dialog Forms Called

None


FetchAssetsByScanDate

File Name

netc_mig.kb

Syntax

None

Parameters

None

Returns

None

Side Effects

None

Description

None

Dialog Forms Called

None


FetchComponentsByScanDate

File Name

netc_mig.kb

Syntax

None

Parameters

None

Returns

None

Side Effects

None

Description

None

Dialog Forms Called

None


FindProduct

File Name

netc_mig.kb

Syntax

None

Parameters

None

Returns

None

Side Effects

None

Description

None

Dialog Forms Called

None


FUNCTION

File Name

netc_mig.kb

Syntax

None

Parameters

None

Returns

None

Side Effects

None

Description

None

Dialog Forms Called

None


GenerateExternalMapRecord

File Name

netc_mig.kb

Syntax

None

Parameters

None

Returns

None

Side Effects

None

Description

None

Dialog Forms Called

None


GetCheckBoxes

File Name

netc_mig.kb

Syntax

None

Parameters

None

Returns

None

Side Effects

None

Description

None

Dialog Forms Called

None


GetExistingAttribValues

File Name

netc_mig.kb

Syntax

None

Parameters

None

Returns

None

Side Effects

None

Description

None

Dialog Forms Called

None


InsertOrUpdateInv

File Name

netc_mig.kb

Syntax

None

Parameters

None

Returns

None

Side Effects

None

Description

None

Dialog Forms Called

None


MapAssetTagToPMVals

File Name

netc_mig.kb

Syntax

None

Parameters

None

Returns

None

Side Effects

None

Description

None

Dialog Forms Called

None


MapComponentListToPMVals

File Name

netc_mig.kb

Syntax

None

Parameters

None

Returns

None

Side Effects

None

Description

None

Dialog Forms Called

None


MapConfig

File Name

netc_mig.kb

Syntax

None

Parameters

None

Returns

None

Side Effects

None

Description

This procedure is called only if the demographics checkbox on the NetCensus dialog is checked. It will get all the information from the NetCensus config table

Dialog Forms Called

None


MatchHandIObjects

File Name

netc_mig.kb

Syntax

None

Parameters

None

Returns

None

Side Effects

None

Description

None

Dialog Forms Called

None


MatchIObjects

File Name

netc_mig.kb

Syntax

None

Parameters

None

Returns

None

Side Effects

None

Description

None

Dialog Forms Called

None


MigrateComponents

File Name

netc_mig.kb

Syntax

None

Parameters

None

Returns

None

Side Effects

None

Description

None

Dialog Forms Called

None


Netc_TagEvent

File Name

netc_mig.kb

Syntax

Netc_TagEvent( REF CensusHandle: INTEGER )

Parameters

CensusHandle - The NetCensus database connection reference

Returns

Nothing

Side Effects

None

Description

Event handler for defining the NetCensus migration options and for invoking the migration process itself. This provides a way to schedule a migration, save and open a migration setting, print migration options and interactively run a migration using a GUI interface.

Dialog Forms Called

census.dfc[components]


Netc_Update

File Name

netc_mig.kb

Syntax

Netc_Update( VAL demographics: STRING, VAL components: STRING, VAL logon_name: STRING )

Parameters

demographics - string determining if the demographics

check box was saved as a parameter

components - string determining if the components

check box was saved as a parameter

logon_name - string determining if the logon_name

check box was saved as a parameter

Returns

Nothing

Side Effects

None

Description

This procedure is called from the scheduler. It is used as a system action but will not bring up any gui related to the migration process. This procedure bypasses any gui related functionality but provides and call the same functionality that is seen in the GUI version of the NetCensus migration.

Dialog Forms Called

None


ProductComponentEvent

File Name

netc_mig.kb

Syntax

None

Parameters

None

Returns

None

Side Effects

None

Description

None

Dialog Forms Called

None


RequestNetCensusMigrationUtility

File Name

netc_mig.kb

Syntax

RequestNetCensusMigrationUtility

Parameters

None

Returns

Nothing

Side Effects

None

Description

This procedure initializes environment variables and calls the event handler for the NetCensus migration dialog. Used as a system action from the toolbar.

Dialog Forms Called

census.dfc[asset]


SetInvAssetTag

File Name

netc_mig.kb

Syntax

None

Parameters

None

Returns

None

Side Effects

None

Description

None

Dialog Forms Called

None


SetPMidAndInvId

File Name

netc_mig.kb

Syntax

None

Parameters

None

Returns

None

Side Effects

None

Description

This process will try to find the tag (asset_tag or tag.config_id which is the component[$current].config_id) in IS_INVENTORY. If an asset_tag is found that matches the component.config_id, then the IS_INVENTORY record will be retrieved and the record returned will become the before_inv record (old_inv). Then the process will create or get the pm_object record. If an asset_tag is not found that matches the component.config_id, then an IS_INVENTORY record will be created and then a PM_OBJECT record will be created.

Dialog Forms Called

None


SynthesizeAttributes

File Name

netc_mig.kb

Syntax

None

Parameters

None

Returns

None

Side Effects

None

Description

None

Dialog Forms Called

None