gaurav
27th August 2001, 19:25
Can someone out here help me with DAL scripting,there are three things i want to know:
1. what are the different object hooks and property hooks in DAL and how can we relate them to the earlier versions of BaaN to main.table.io function.
2.if i want to write a function like:
function update.expiry.lines()
{
db.retry.point()
select lines.field
from lines for update
where lines._index1 = {:header.field}
selectdo
lines.field = header.field
db.update(lines, db.retry)
endselect
commit.transaction()
}
in my DAL script. i want this function to be executed for tdpur300.edat, whenever the field changes, that is whenever a user modifies a record in header, the lines should be updated.
pls reply as soon as posible
Thanx
gaurav
1. what are the different object hooks and property hooks in DAL and how can we relate them to the earlier versions of BaaN to main.table.io function.
2.if i want to write a function like:
function update.expiry.lines()
{
db.retry.point()
select lines.field
from lines for update
where lines._index1 = {:header.field}
selectdo
lines.field = header.field
db.update(lines, db.retry)
endselect
commit.transaction()
}
in my DAL script. i want this function to be executed for tdpur300.edat, whenever the field changes, that is whenever a user modifies a record in header, the lines should be updated.
pls reply as soon as posible
Thanx
gaurav