Set fields read-only on document complete

For those who ventured too far - just hope they know their way back :)

Moderator: neilg

Set fields read-only on document complete

Postby graemian » Thu Jun 08, 2006 12:11 am

Hello,

I've created a table that supports "DocAction" (can Complete, Void, etc), but I would like all the fields in the document to become read-only when the document is completed (like for invoices, orders, etc)

Does anyone know how do I do this? I can't seem it figure it out or find it in the code.

Thanks,
Graeme
graemian
 
Posts: 1
Joined: Thu Jun 08, 2006 12:08 am

Postby red1 » Thu Jun 08, 2006 12:44 pm

Login as SystemAdmin into the AD (Applicaton Dictionary) at the Table & Column Window (Column Tab) look for Read Only Logic field where u can set some condition such as @docstatus@="N" so that when DocStatus is "Y" (Processed) then it wont display.

U can place such phrase in all the fields u mentioned as needed to be read-only.
red1
Site Admin
 
Posts: 2759
Joined: Tue Jul 06, 2004 3:01 pm
Location: Kuala Lumpur, Malaysia


Return to Strictly Technical

Who is online

Users browsing this forum: No registered users and 1 guest

cron