Lock the Records [message #317412] |
Thu, 01 May 2008 02:20 |
*munnabhai*
Messages: 157 Registered: March 2008 Location: Riyadh
|
Senior Member |
|
|
Hi guyz,
I develop one payroll system, i need to lock the record once the payroll issue at the end of the month or as desired date how to lock the records once process?
Regards
|
|
|
|
Re: Lock the Records [message #317417 is a reply to message #317412] |
Thu, 01 May 2008 02:42 |
*munnabhai*
Messages: 157 Registered: March 2008 Location: Riyadh
|
Senior Member |
|
|
you are rite little i would like to restrict the user from application mode. lets see what will happen i got one idea let you know when i finished...lets c i got the sucess or not....
Thanks for the reply.
Regards
|
|
|
Re: Lock the Records [message #317849 is a reply to message #317412] |
Sun, 04 May 2008 04:33 |
thomasscaria
Messages: 21 Registered: July 2007 Location: Kuwait
|
Junior Member |
|
|
check the processing status flag value or date and then set the block property updateable property false.
like
if flag = true then
Set_Block_Property(blk_id,INSERT_ALLOWED,PROPERTY_FALSE);
Set_Block_Property(blk_id,UPDATE_ALLOWED,PROPERTY_FALSE);
Set_Block_Property(blk_id,DELETE_ALLOWED,PROPERTY_FALSE);
end if;
|
|
|