Opened 4 years ago
Last modified 4 years ago
#2705 assigned enhancement
Add is_web_visible column to the code value table — at Version 4
| Reported by: | dbmulg | Owned by: | dbmulg |
|---|---|---|---|
| Priority: | medium | Milestone: | |
| Component: | Database, Schema Changes | Version: | N/A |
| Severity: | Keywords: | ||
| Cc: | Database Engine: | N/A | |
| Operating System: | N/A |
Description (last modified by )
There are several cases which would benefit from having this new is_web_visible column added to the code_value table.
For example, currently there is no way CT user could see and control what order action code PW user could see from his/her web order history detail page, since the visibility information is not in the database, but in an dataview.
Note: It is possible we may need more column later for the table, for dealing with other arising requirements, say, we many add is_archive new column.
Note: Make the new column with default value 'Y':
ALTER TABLE code_value
ADD is_web_visible nvarchar(1) NOT NULL
DEFAULT('Y')
Change History (4)
comment:1 by , 4 years ago
comment:2 by , 4 years ago
| Description: | modified (diff) |
|---|
comment:3 by , 4 years ago
after changing CT get_code_value dataview, CT user could see and edit the order_action_code web visibility, and PW could use the database data to show the visibility instead of hard-code it.
comment:4 by , 4 years ago
| Description: | modified (diff) |
|---|

I added the column to my local dev environment, run PW and CT, looks fine.