mast_aadmi
18th July 2010, 12:39
Hi,
I am new to the DAL concept. I have this one table for which i have maintained a DAL and in the before.save.object i have coded a check. This works perfectly when i try to create a record using the normal front end. But,
Then i have created this session which allows a user to duplicate a record.

So i tried to use the method dal.new() instead of db.insert in the UI Script. But when i did that it says unresolved reference to function dal.new(). To solve that i included <bic_dal> but it says that it can't be included in the UI script.So i was forced to use the db.insert() command. But with that command the DAL check is not executed.

So my question is whether i can use the DAM in UI Scripts? If not, then how can make use of the checks that i have coded in the DAL Script.

Thanks in advance

toolswizard
18th July 2010, 23:02
Try using <bic_dam> in your UI instead of <bic_dal>

mast_aadmi
19th July 2010, 06:30
Thanks for answering my query.

Thanks a lot.