Opened 4 years ago

Last modified 4 years ago

#2758 accepted task

Create a new code group to contain PW visible order request action code

Reported by: dbmulg Owned by: Benjamin Haag
Priority: medium Milestone:
Component: Database, Data Updates Version: N/A
Severity: Keywords:
Cc: kurt.endress@… Database Engine: N/A
Operating System: N/A

Description

Currently, 1) CT user could see what order action code PW user could see from his/her web order history detail page, the visible order action codes are a subset of the available order action code. 2) PW dataview has to use hard-code way to filter the code out.

To address the issue in a simple way, the suggestion is to create a new code group called ORDER_REQUEST_ACTIONS_PW_VISIBLE and having the dataview check the order action codes against that. If the action_name_code is in the PW_VISIBLE list show it, otherwise don’t. Then the curators could execute some simple SQL to check which codes would be visible, such as:
SELECT value FROM code_value cv WHERE cv.group_name = 'ORDER_REQUEST_ACTIONS_PW_VISIBLE'

Change History (2)

comment:1 by Benjamin Haag, 4 years ago

Cc: kurt.endress@… added
Status: assigned → accepted

comment:2 by Benjamin Haag, 4 years ago

Currently discussing approach(es) with Kurt.

Note: See TracTickets for help on using tickets.