Updating a text field in aform based on conditions
951614Apr 1 2013 — edited Apr 3 2013Hi ,
We are developing a custom form which has a database datablocks.
This form is a master detail form . It has a field called "status" whose initial values is 'Draft' and this field is present in the master part of the form.
The Logic for "Draft" is written in Pre-Insert trigger of the header block.
---------------------
Question
---------------------
If condition "A" is met and "B" is met , status should be set as a value called as 'Submitted';
If condition a is not met and B is met , status should be set as a value called as 'Created';
We are doing this in the post-update trigger at block level. But the changes are not taking effect.
Please let us know if this is the correct approach to handle the column. Note that the column "Status" is a database column.
Thanks and Regards
SR