This page (revision-25) was last changed on 26-Nov-2021 10:22 by JAiken

This page was created on 26-Nov-2021 10:22 by JMyers

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Page revision history

Version Date Modified Size Author Changes ... Change note
25 26-Nov-2021 10:22 5 KB JAiken to previous
24 26-Nov-2021 10:22 4 KB JEscott to previous | to last
23 26-Nov-2021 10:22 4 KB JEscott to previous | to last
22 26-Nov-2021 10:22 4 KB JEscott to previous | to last
21 26-Nov-2021 10:22 4 KB JEscott to previous | to last

Page References

Incoming links Outgoing links

Version management

Difference between version and

At line 1 added 2 lines
[{TableOfContents }]
At line 5 changed 23 lines
Where Clause
This field identifies the Where Clause.
Description
This field provides a short description of the Where Clause.
Usage
This field will indicate if the Where Clause is Pre-loaded (McKessonHigh Line provided), User Defined or Obsolete.
Type
This field categorizes the Where Clause into a specific type.
For example: Ad Hoc, Predefined
Predefined
If the Where Clause is pre-loaded, its predefined name will appear in this field.
This field is not normally used.
Column
This field allows you to define the filters to be used with the Where Clause.
You may use more than one filter on a Where Clause. If you do use multiple filter
statements, they are joined by ‘and’ in the statement.
e.g. You can use multiple columns to return a Positions LOV that will be filtered first by department, next by active status, and finally by date.
Operator
This field allows you to provide an SQL statement to further filter the information.
e.g. equal to, not equal to, less than, greater than.
Value
This field completes the SQL statement of the previous field.
e.g. active status, Finance department.
The definition data for the Maintain Where Clauses by Table screen is stored in the [P2K_AM_DATA_ACCESS_OBJECTS], [P2K_AM_WHERE_CLAUSES], [P2K_AM_CONDITIONS], [P2K_AM_FORM_TABLE_USAGES], and [P2K_AM_LIST_OF_VALUES] table.
\\ \\
----
!! Where Clause tab
;[Where Clause|WHERE_CLAUSE_CODE]:This field identifies the Where Clause.
;[Description|DESCRIPTION]: This field provides a short description of the Where Clause.
;[Usage|WHERE_CLAUSE_USAGE]:This field will indicate if the Where Clause is Pre-loaded (system provided), User Defined or Obsolete.
;[Type|CONDITION_TYPE]:This field indicates whether the criteria have been written in the Java or if the criteria are defined on an ‘as required’ basis. There are two options available, Java Defined and Ad Hoc. Users should use the type Ad Hoc.
;[Java Code|PREDEFINED_CONDITION_CODE]:Some 'pre-loaded' where clauses contain java logic, this predefined logic is specified in this field. This field is not used with user-defined where clauses or conditions.
;[Column|COLUMN_NAME]:This field allows you to define the filters to be used with the Where Clause.
%%information You may use more than one filter on a Where Clause. If you do use multiple filter
statements, they are joined by ‘and’ in the statement.\\e.g. You can use multiple columns to return a Positions LOV that will be filtered first by department, next by active status, and finally by date.%%
;[Operator|COMPARISON_OPERATOR]:This field allows you to provide an SQL statement to further filter the information.
;[Value|VALUE]:This field completes the SQL statement of the previous field.\\ \\This field holds information used to filter the where clause against. For example, it may be "Active" if the where clause is to filter a list of employees based on their employment status.
;[Usage|CONDITION_USAGE]:This field is used to determine whether a condition on a where clause was supplied or has been added by a user to customize the where clause.
At line 30 changed 8 lines
Column = ID.DPS_ID
Operator = equal to
Value = Finance
Description
This field will provide a full description of how the Where Clause operates.
Test Where Clause
This button allows you to test the Where Clause to see if it returns the correct information in a timely manner.
Cache
*Column = ID.DPS_ID
*Operator = equal to
*Value = Finance
;[Description|DESCRIPTION]:This field will provide a full description of how the Where Clause operates.
;[Physical Column Name|COLUMN_NAME]:This field will display name of the column that is used to filter the where clause.
;[Test Where Clause |ACT_WHERE_CLAUSE_CHECK_RESULTS]:This button allows you to test the Where Clause to see if it returns the correct information in a timely manner.
\\ \\
----
!!Cache tab
At line 39 changed one line
Cache Status Cached Columns Clear Table Data Clear All Cached Tables
;[Cache Status |DRV_CACHE_STATUS]:This field indicates if the data source selected in the find block has been added to the application's cache or not. If the data source has been added, the field also indicates how many rows have been cached.
;[Cached Columns |DRV_CACHED_COLUMNS]:This box indicates which columns associated to the data source are cached.
;[Clear Table Data |ACT_CLEAR_TABLE_CACHE]:If necessary the user may clear the table's data from the cache. This may be necessary if changes to the data within the table are not refreshing for the users.
\\
!Only to be used in extreme cases
;[Clear All Cached Tables |ACT_CLEAR_ALL_TABLE_CACHES]: This action button will clear data from ALL of the cached tables, not just the one selected in the find block.
----
!!Form Usage tab
;[Function|FUNCTION_NAME]:This field displays a function which makes use of the data source selected in the find block.
;[MFN Usage|FUNCTION_USAGE]:This field displays the function's usage, meaning if the function is pre-loaded or user-defined.
;[Join Clause|JOIN_CLAUSE]:This field displays the join clause to the data source selected in the find block.
;[Where Clause|WHERE_CLAUSE_CODE]:If the function has a where clause defined for the data source selected, the [where clause code|WHERE_CLAUSE_CODE] will display here.
;[MFT Usage|FORM_TABLE_USAGE]: This field indicates if the form's table usages are pre-loaded with the application or if they were user-defined.
;[Create|CREATE_ALLOWED]/[Retrieve|RETRIEVE_ALLOWED]/[Update|UPDATE_ALLOWED]/[Delete Allowed|DELETE_ALLOWED]: The security access available for the function is displayed using these toggles.
\\ \\
----
!!LOV Usage tab
;[LOV Code|LOV_CODE]:This field displays an LOV code that has been defined for the data source selected in the find block.
;[LOV Usage|LOV_USAGE]:This field displays whether the LOV was pre-loaded with the application or if it was defined by a user.
;[Where Clause|WHERE_CLAUSE_CODE]:If a where clause is tied to the LOV, the where clause code is displayed here.
;[Exclude From Cache|EXCLUDE_FROM_CACHE]:If the LOV is to be excluded from the application's cache, it is indicated here.
----
![Notes|Edit:Internal.IMDAO]
[{InsertPage page='Internal.IMDAO' default='Click to create a new notes page'}]