Make DFF reuired trough CUSTOM.PLL
Hi all,
I am trying to make the Descriptive Flexfield on the Invoice Workbench form, required. Since i haven't found a way of doing this trough Forms Personalizations, i am trying to do this with CUSTOM.PLL using :
IF (event_name = 'WHEN-NEW-BLOCK-INSTANCE' AND block_name = 'LINE_SUM_FOLDER') THEN
fnd_descr_flex.update_definition
(
BLOCK => 'LINE_SUM_FOLDER'
,FIELD => 'LINE_DF'
,ENABLED => 'Y'
,REQUIRED=> 'Y'
);
END IF;
But the problem i am facing, is that the form does not compile. It errors : wrong number of types and arguments in call to 'UPDATE_DEFINITION'. If i am deleting the REQUIRED = 'Y' line it works.
I am trying to make the Descriptive Flexfield on the Invoice Workbench form, required. Since i haven't found a way of doing this trough Forms Personalizations, i am trying to do this with CUSTOM.PLL using :
IF (event_name = 'WHEN-NEW-BLOCK-INSTANCE' AND block_name = 'LINE_SUM_FOLDER') THEN
fnd_descr_flex.update_definition
(
BLOCK => 'LINE_SUM_FOLDER'
,FIELD => 'LINE_DF'
,ENABLED => 'Y'
,REQUIRED=> 'Y'
);
END IF;
But the problem i am facing, is that the form does not compile. It errors : wrong number of types and arguments in call to 'UPDATE_DEFINITION'. If i am deleting the REQUIRED = 'Y' line it works.
0