Custom.pll example to make DFF read only

在特定的职责下,让DFF只读



/* *************************** Code to make DFF Read Only ****************** */

IF (event_name = 'WHEN-NEW-BLOCK-INSTANCE' AND form_name = 'PERWSEAD' AND block_name = 'ABA') THEN
IF(FND_PROFILE.VALUE('RESP_NAME')IN ('Vision HR Manager' ,'XYZ HR Manager')) THEN
fnd_descr_flex.update_definition
(
BLOCK => 'ABA'
,FIELD => 'DF'
,READ_ONLY => 'Y' );
END IF;
END IF;
/* *************************** End of The Code ************************* */



你可能感兴趣的:(example)