File Name
Syntax
DeleteContract( VAL InTran: BOOLEAN, REF DeleteRec: ContractRec )
Parameters
InTran - in a transaction or not
DeleteRec - contract record to be deleted from table
Returns
Integer for success or failure
Side Effects
None
Description
This function deletes a single contract record from the CONTRACT table.
Dialog Forms Called
None
File Name
Syntax
DeleteContractAddress( VAL inTran: BOOLEAN, VAL contract_id: INTEGER )
Parameters
inTran - in a transaction or not
contract_id - id of selected contract
Returns
Integer for success or failure
Side Effects
None
Description
This function deletes a contract history record.
Dialog Forms Called
None
File Name
Syntax
DeleteContractHistory( VAL inTran: BOOLEAN, REF DeleteRec: ContractHistory )
Parameters
inTran - in a transaction or not
DeleteRec - contract history record to be deleted
Returns
Integer for success or failure
Side Effects
None
Description
This function deletes a contract history record.
Dialog Forms Called
None
File Name
Syntax
DeleteContractMaintenance( VAL inTran: BOOLEAN, REF DeleteRec: ContractMaintenance)
Parameters
inTran - in a transaction or not
DeleteRec - contract maintenance record
Returns
Integer for success or failure
Side Effects
None
Description
This function deletes a contract maintenance record.
Dialog Forms Called
None
File Name
Syntax
GetContractHistList( REF KHistoryList: LIST OF ContractHistory, VAL ID: INTEGER )
Parameters
KHistoryList - list of contract history records
ID - id of contract to get history list for
Returns
Integer for success or failure
Side Effects
None
Description
This function retrieves a list of contract history records for the specified contract.
Dialog Forms Called
None
File Name
Syntax
InsertContract( VAL InTran: BOOLEAN, REF InsertRec: ContractRec )
Parameters
InTran - in a transaction or not
InsertRec - contract record to be inserted into table
Returns
Integer for success or failure
Side Effects
None
Description
This function inserts a single contract record into the CONTRACT table.
Dialog Forms Called
None
File Name
Syntax
InsertContractAddress( VAL inTran: BOOLEAN, REF contractAddressList: LIST OF ContractAddress )
Parameters
inTran - in a transaction or not
contractAddressList - list of contract address records
Returns
Integer for success or failure
Side Effects
None
Description
This function inserts a contract history record.
Dialog Forms Called
None
File Name
Syntax
InsertContractHistory( VAL inTran: BOOLEAN, REF InsertRec: ContractHistory)
Parameters
inTran - in a transaction or not
InsertRec - contract history record to be inserted
Returns
Integer for success or failure
Side Effects
None
Description
This function inserts a contract history record.
Dialog Forms Called
None
File Name
Syntax
InsertContractMaintenance( VAL inTran: BOOLEAN, REF InsertRec: ContractMaintenance)
Parameters
inTran - in a transaction or not
InsertRec - contract maintenance record
Returns
Integer for success or failure
Side Effects
None
Description
This function inserts a contract maintenance record.
Dialog Forms Called
None
File Name
Syntax
UpdateContract( VAL InTran: BOOLEAN, REF BeforeRec: ContractRec, REF AfterRec: ContractRec )
Parameters
InTran - in a transaction or not
BeforeRec - original contract record
AfterRec - new contract record
Returns
Integer for success or failure
Side Effects
None
Description
This function updates a single contract record in the CONTRACT table.
Dialog Forms Called
None
File Name
Syntax
UpdateContractHistory( VAL inTran: BOOLEAN, REF BeforeRec: ContractHistory, REF AfterRec: ContractHistory )
Parameters
inTran - in a transaction or not
BeforeRec - original contract history record
AfterRec - new contract history record
Returns
Integer for success or failure
Side Effects
None
Description
This function updates a contract history record.
Dialog Forms Called
None
File Name
Syntax
UpdateContractMaintenance( VAL inTran: BOOLEAN, REF BeforeRec: ContractMaintenance, REF AfterRec: ContractMaintenance)
Parameters
inTran - in a transaction or not
BeforeRec - original contract maintenance record
AfterRec - new contract maintenance record
Returns
Integer for success or failure
Side Effects
None
Description
This function updates a contract maintenance record.
Dialog Forms Called
None
File Name
Syntax
UpdateListOfAddressRec( VAL inTran: BOOLEAN, REF contractAddressList: LIST OF ContractAddress, VAL contract_id: INTEGER, VAL userMode: STRING )
Parameters
inTran - in a transaction or not
contractAddressList - list of contract address records
contract_id - contract ID
userMode - mode of contract notebook (add, edit , or view)
Returns
Integer for success or failure
Side Effects
None
Description
This function updates a list of contract address records.
Dialog Forms Called
None
File Name
Syntax
UpdateListOfContractItems( VAL InTran: BOOLEAN, REF updateList: LIST OF KUpdateRec, VAL userMode: STRING )
Parameters
inTran - in a transaction or not
updateList - list of contract update records
userMode - mode of contract notebook (add, edit , or view)
Returns
Integer for success or failure
Side Effects
None
Description
This function updates a list of contract update records.
Dialog Forms Called
None
File Name
Syntax
UpdateListOfContracts( VAL InTran: BOOLEAN, REF BeforeList: LIST OF ContractRec, REF AfterList: LIST OF ContractRec )
Parameters
InTran - in a transaction or not
BeforeList - original list of contract records
AfterList - current list of contract records
Returns
Integer for success or failure
Side Effects
None
Description
This function updates a list of contract records in the database.
Dialog Forms Called
None
File Name
Syntax
UpdateListOfKHist( VAL inTran: BOOLEAN, REF BeforeList: LIST OF ContractHistory, REF AfterList: LIST OF ContractHistory )
Parameters
inTran - in a transaction or not
BeforeList - original list ofcontract history records
AfterList - new list of contract history records
Returns
Integer for success or failure
Side Effects
None
Description
This function updates a list of contract history records.
Dialog Forms Called
None
File Name
Syntax
UpdateListOfMaintRec( VAL inTran: BOOLEAN, REF BeforeList: LIST OF ContractMaintenance, REF AfterList: LIST OF ContractMaintenance )
Parameters
inTran - in a transaction or not
BeforeList - original list of contract maintenance records
AfterList - new list of contract maintenance records
Returns
Integer for success or failure
Side Effects
None
Description
This function updates a list of contract maintenance records.
Dialog Forms Called
None