I have a tab page "tabpage_future_trans" inherited from u_tabpg. This tab
page has a datawindow control dw_future_trans which is inherited from
"u_future_trans" which in turn is inherited from u_dw.
The datawindow has a column pay_code which is a DDDW. For a certain group I
want to disable this pay_code. So I run the security app. SECURITY_TEMPLATE
pick up this column as
window = pen_w_ta
control = tab_ta.tabpage_future_trans.dw_future_trans.pay_code
object_type = Column
I make this column disable for EMPLOYEE group. So in SECURITY_INFO, I have
window = pen_w_ta
control = tab_ta.tabpage_future_trans.dw_future_trans.pay_code
user_name = EMPLOYEE
status = D
Everything looks ok. But when I run my system, and when PFC security try to
set this column, it ask me for retrieval arguments for the DDDW of this
column. Whether I press ok or cancel, it sets the disabality correctly. On
debugging I find out that PFC is using this string to modify :
pay_code.background.mode="1" pay_code.protect="1"
pay_code.dddw.UseAsBorder=No
On many trials I find out that it asks for retrieval arguments whenever it
has
pay_code.background.mode="1" OR
pay_code.dddw.UseAsBorder=No
When it has only pay_code.protect="1", its ok.
do you guys have any idea why this is happening? I am completely lost here.
I have other DDDW columns in other datawindows and I am setting their
security correctly through same code.
Thanks
Rizwan