Routines for ictg_wdb.kb


AttribValRecExists

File Name

ictg_wdb.kb

Syntax

AttribValRecExists(VAL Rec: I_Attrib_ValueRec)

Parameters

Rec - i_attrib_value record

Returns

Integer for success or failure.

Side Effects

None

Description

This function will check to see if the i_attrib_value already exists in the table or not.

Dialog Forms Called

None


DeleteAttribDefRec

File Name

ictg_wdb.kb

Syntax

DeleteAttribDefRec(VAL InTran: BOOLEAN, REF DeleteRec: Attribute_DefRec)

Parameters

InTran - in a transaction or not

DeleteRec - attribute definition record to be deleted

Returns

Integer for success or failure.

Side Effects

None

Description

This function will delete a attribute definition record.

Dialog Forms Called

None


DeleteI_Object

File Name

ictg_wdb.kb

Syntax

DeleteI_Object(VAL InTran: BOOLEAN, REF DeleteRec: I_ObjectRec)

Parameters

InTran - in a transaction or not

DeleteRec - model record to be deleted

Returns

Integer for success or failure.

Side Effects

None

Description

This function will delete a model record.

Dialog Forms Called

None


DeleteIsaAttribRec

File Name

ictg_wdb.kb

Syntax

DeleteIsaAttribRec(VAL InTran: BOOLEAN, REF DeleteRec: I_Attrib_ValueRec)

Parameters

InTran - in a transaction or not

DeleteRec - i_attrib_value record to be deleted

Returns

Integer for success or failure.

Side Effects

None

Description

This function will delete a i_attrib_value record.

Dialog Forms Called

None


InsertAttribDefRec

File Name

ictg_wdb.kb

Syntax

InsertAttribDefRec(VAL InTran: BOOLEAN, REF InsertRec: Attribute_DefRec)

Parameters

InTran - in a transaction or not

InsertRec - attribute definition record to be inserted

Returns

Integer for success or failure.

Side Effects

None

Description

This function will insert a attribute definition record.

Dialog Forms Called

None


InsertH_Object

File Name

ictg_wdb.kb

Syntax

InsertH_Object(VAL InTran: BOOLEAN, REF InsertRec: H_ObjectRec)

Parameters

InTran - in a transaction or not

InsertRec - category record to be inserted

Returns

Integer for success or failure.

Side Effects

None

Description

This function will insert a category record.

Dialog Forms Called

None


InsertI_Object

File Name

ictg_wdb.kb

Syntax

InsertI_Object(VAL InTran: BOOLEAN, REF InsertRec: I_ObjectRec)

Parameters

InTran - in a transaction or not

InsertRec - model record to be inserted

Returns

Integer for success or failure.

Side Effects

None

Description

This function will insert a model record.

Dialog Forms Called

None


InsertIsaAttribRec

File Name

ictg_wdb.kb

Syntax

InsertIsaAttribRec(VAL InTran: BOOLEAN, REF InsertRec: I_Attrib_ValueRec)

Parameters

InTran - in a transaction or not

InsertRec - i_attrib_value record to be inserted

Returns

Integer for success or failure.

Side Effects

None

Description

This function will insert a i_attrib_value record.

Dialog Forms Called

None


UpdateAttribDefRec

File Name

ictg_wdb.kb

Syntax

UpdateAttribDefRec(VAL InTran: BOOLEAN, REF BeforeRec: Attribute_DefRec, REF AfterRec: Attribute_DefRec)

Parameters

InTran - in a transaction or not

BeforeRec - original attribute definition record

AfterRec - new attribute definition record

Returns

Integer for success or failure.

Side Effects

None

Description

This function will update a attribute definition record.

Dialog Forms Called

None


UpdateH_Object

File Name

ictg_wdb.kb

Syntax

UpdateH_Object(VAL InTran: BOOLEAN, REF BeforeRec: H_ObjectRec, REF AfterRec: H_ObjectRec)

Parameters

InTran - in a transaction or not

BeforeRec - original category record

AfterRec - new category record

Returns

Integer for success or failure.

Side Effects

None

Description

This function will update a category record.

Dialog Forms Called

None


UpdateI_Object

File Name

ictg_wdb.kb

Syntax

UpdateI_Object(VAL InTran: BOOLEAN, REF BeforeRec: I_ObjectRec, REF AfterRec: I_ObjectRec)

Parameters

InTran - in a transaction or not

BeforeRec - original model record

AfterRec - new model record

Returns

Integer for success or failure.

Side Effects

None

Description

This function will update a model record.

Dialog Forms Called

None


UpdateInvForCtgOrMdlChange

File Name

ictg_wdb.kb

Syntax

UpdateInvForCtgOrMdlChange(VAL set: STRING, VAL where: STRING)

Parameters

set - category or model id

where - where clause used to update IS_INVENTORY table

Returns

Integer for success or failure.

Side Effects

None

Description

This function will update the inventory records whenever the category or model is changed that is associated with a particular inventory record.

Dialog Forms Called

None


UpdateIsaAttribRec

File Name

ictg_wdb.kb

Syntax

UpdateIsaAttribRec(VAL InTran: BOOLEAN, REF BeforeRec: I_Attrib_ValueRec, REF AfterRec: I_Attrib_ValueRec)

Parameters

InTran - in a transaction or not

BeforeRec - original i_attrib_value record

AfterRec - new i_attrib_value record

Returns

Integer for success or failure.

Side Effects

None

Description

This function will update a i_attrib_value record.

Dialog Forms Called

None