set item to disabled in forms personalization [message #279399] |
Thu, 08 November 2007 01:46 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
prema_prema
Messages: 18 Registered: September 2007 Location: mauritius
|
Junior Member |
|
|
hi
I have to disable the item D_SUM_FOLDER.DIST_CODE_COMBINATION_DISP in form INVOICES based on some condition
I have set its property 'ENABLED' to 'FALSE' in trigger event 'WHEN-VALIDATE-RECORD' for object 'D_SUM_FOLDER'
BUt when im saving the invoice, I am getting the follwoing errors:
1) 'Cannot set REQUIRED attribute of non-enabled item D_SUM_FOLDER.DIST_CODE_CONCATENATED_DISP
2)'Cannot set Insert Allowed Property of disabled item DSUM_FOLDER.DIST_CODE_CONCATENATED_DISP
Does anybody have a clue if i have to add other conditions or anybody have another solution
|
|
|
|
|
|
Re: set item to disabled in forms personalization [message #279436 is a reply to message #279399] |
Thu, 08 November 2007 07:17 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
prema_prema
Messages: 18 Registered: September 2007 Location: mauritius
|
Junior Member |
|
|
hi
please see the doc attached for the personalization i did:
I have only one condition
Trigger event : WHEN-VALIDATE-RECORD
Trigger object : D_SUM_FOLDER
Condition :(XX_CNV_CORP_EAP062_PKG.CHECK_ACCOUNT(:D_SUM_FOLDER.DIST_CODE_COMBINATION_DISP) = 1)
Processing Mode : Not in Query Mode
Actions Tab
Seq : 2
Type: Property
Object Type:Item
Target Object : D_SUM_FOLDER.DIST_CODE_COMBINATION_DISP
Property Name : INSERT_ALLOWED
VAlue : FALSE
Seq : 3
Type: Property
Object Type:Item
Target Object : D_SUM_FOLDER.DIST_CODE_COMBINATION_DISP
Property Name : REQUIRED
VAlue : FALSE
Seq : 3
Type: Property
Object Type:Item
Target Object : D_SUM_FOLDER.DIST_CODE_COMBINATION_DISP
Property Name : ENABLED
VAlue : FALSE
Seq : 5
Type: Builtin
Builtin Type : SYNCHRONIZE
|
|
|
|
|
|