Namespace: Consultingwerk.CommonUi
Class 
ForeignFields Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object

Purpose: Validates the ForeignFields
Notes: Returns foreign fields in correct spelling (casing), determines
foreign fields based on parent-relation when from same Business
Entity, throws error, when foreign fields are wrong



Top Method Summary
Options Name Purpose
- CHARACTER DetermineForeignFields (character, character, character, character, character) Validates existing ForeignFields
- CHARACTER DetermineForeignFields (character, handle, character, character, handle, character, character) Validates existing ForeignFields
- HANDLE GetDatasetHandle (character) Returns the handle of the ProDataset
+ CHARACTER Validate (character, character, character, character, character) Validates the ForeignFields
+ CHARACTER Validate (character, handle, character, character, handle, character, character) Validates the ForeignFields
- CHARACTER ValidateExistingForeignFields (character, character, character, character, character) Validates existing ForeignFields
- CHARACTER ValidateExistingForeignFields (character, handle, character, handle, character) Validates existing ForeignFields


Method Detail
Top

PRIVATE CHARACTER DetermineForeignFields (character, character, character, character, character)

Purpose: Validates existing ForeignFields
Notes: Returns foreign fields in correct spelling (casing), throws error,
when foreign fields are wrong

Parameters:
pcForeignFields CHARACTER
The list of foreign fields
pcSourceEntityName CHARACTER
The name of the source entity
pcSourceTableNames CHARACTER
The name of the source tables
pcTargetEntityName CHARACTER
The name of the target entity
pcTargetTableNames CHARACTER
The name of the target tables
Returns CHARACTER
The list of foreign fields
Top

PRIVATE CHARACTER DetermineForeignFields (character, handle, character, character, handle, character, character)

Purpose: Validates existing ForeignFields
Notes: Returns foreign fields in correct spelling (casing), throws error,
when foreign fields are wrong

Parameters:
pcForeignFields CHARACTER
The list of foreign fields
phSourceDataset HANDLE
The handle of the source ProDataset
pcSourceEntityName CHARACTER
The name of the source entity
pcSourceTableNames CHARACTER
The name of the source tables
phTargetDataset HANDLE
The handle of the source ProDataset
pcTargetEntityName CHARACTER
The name of the target entity
pcTargetTableNames CHARACTER
The name of the target tables
Returns CHARACTER
The list of foreign fields
Top

PRIVATE HANDLE GetDatasetHandle (character)

Purpose: Returns the handle of the ProDataset
Notes:

Parameters:
pcEntityName CHARACTER
The name of the Entity
Returns HANDLE
The handle of the ProDataset
Top

PUBLIC CHARACTER Validate (character, character, character, character, character)

Purpose: Validates the ForeignFields
Notes: Returns foreign fields in correct spelling (casing), determines
foreign fields based on parent-relation when from same Business
Entity, throws error, when foreign fields are wrong

Parameters:
pcForeignFields CHARACTER
The list of foreign fields
pcSourceEntityName CHARACTER
The name of the source entity
pcSourceTableNames CHARACTER
The name of the source tables
pcTargetEntityName CHARACTER
The name of the target entity
pcTargetTableNames CHARACTER
The name of the target tables
Returns CHARACTER
The list of foreign fields
Top

PUBLIC CHARACTER Validate (character, handle, character, character, handle, character, character)

Purpose: Validates the ForeignFields
Notes: Returns foreign fields in correct spelling (casing), determines
foreign fields based on parent-relation when from same Business
Entity, throws error, when foreign fields are wrong

Parameters:
pcForeignFields CHARACTER
The list of foreign fields
phSourceDataset HANDLE
The handle of the source ProDataset
pcSourceEntityName CHARACTER
The name of the source entity
pcSourceTableNames CHARACTER
The name of the source tables
phTargetDataset HANDLE
The handle of the target ProDataset
pcTargetEntityName CHARACTER
The name of the target entity
pcTargetTableNames CHARACTER
The name of the target tables
Returns CHARACTER
The list of foreign fields
Top

PRIVATE CHARACTER ValidateExistingForeignFields (character, character, character, character, character)

Purpose: Validates existing ForeignFields
Notes: Returns foreign fields in correct spelling (casing), throws error,
when foreign fields are wrong

Parameters:
pcForeignFields CHARACTER
The list of foreign fields
pcSourceEntityName CHARACTER
The name of the source entity
pcSourceTableNames CHARACTER
The name of the source tables
pcTargetEntityName CHARACTER
The name of the target entity
pcTargetTableNames CHARACTER
The name of the target tables
Returns CHARACTER
The list of foreign fields
Top

PRIVATE CHARACTER ValidateExistingForeignFields (character, handle, character, handle, character)

Purpose: Validates existing ForeignFields
Notes: Returns foreign fields in correct spelling (casing), throws error,
when foreign fields are wrong

Parameters:
pcForeignFields CHARACTER
The list of foreign fields
phSourceDataset HANDLE
The handle of the source ProDataset
pcSourceTableNames CHARACTER
The name of the source tables
phTargetDataset HANDLE
The handle of the source ProDataset
pcTargetTableNames CHARACTER
The name of the target tables
Returns CHARACTER
The list of foreign fields


©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       09.11.2024 18:36:35