pralash
2nd January 2018, 09:33
Hi,
I'm new for LN Programming... I want to know about the different business rules those are implemented in DAL 1 as well as DAL 2...
Please let me the main rules of DAL 1 DAL 2
Regards,
Pralash
andreas.toepper
3rd January 2018, 08:37
Well, I think there's no official rule when to use DAL1 and when to use DAL2. In my opinion there's only "DAL": a place where I can link code to hooks on the table and/or field level.
Here's my interpretation:
There's been some evolution in DAL programming. There has been an initial set of hooks and functionality. This has been extended. The old version is nowadays called DAL1, the latest version is called DAL2 (or "Extended DAL"). Basically Dal1 is focused on table level hooks and Dal2 introduced (added) hooks on field level.
There's still a script type "Dal" (Dal1) available, but I think it is for backward compatibility only. When I'm creating new dal scripts, they are always of Dal2 type.
pralash
5th January 2018, 08:04
Thanks for your information....
Can you please tell about table related hooks and field related hooks with some example script...
Regards,
Pralash
bhushanchanda
5th January 2018, 14:33
Pralash,
I will highly recommend getting Programmers Guide from InforXtreme.
pralash
5th January 2018, 15:17
Hi Bhushan,
Yes... Of course... Will follow the Programmer guide as you suggested...
Thanks for your information....
Regards,
Pralash