Hello everybody,
I have one question:
¿Has Navision a Transaction Language? ](*,)
I think C/AL is Transaction Language, becasuse i can begin a operation with de Data Base, insert, update, delete some thing and i can make commit or no.
¿Is true?
¿Is this explanation correct?
¿Any one has any other explanation?
Thanks everybody.
0
Comments
With a Navision-DB, you can't read uncommited data.
With SQL it is possible. The only way to avoid it is to put this in your code:
CURRENTTRANSACTIONTYPE := TRANSACTIONTYPE::Update; (for updating) or
CURRENTTRANSACTIONTYPE := TRANSACTIONTYPE::Snapshot; (for Read only)
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
How does Navision know when "GUI is free" ?
When, for instance, invoice posting is in progress, we can click Cancel to abort the process...does it mean that whatever has written to database has been commited ?
there is a small error subsystem. which means, either there is an error in transaction or not. if you cancel something, you practically send an error flag end your transaction is rolled back. if form/codeunit ends with job without error, your transaction is commited unless there is an explicit commit command used.
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
Now it's clear to me!
Thanks a lot, kriki!
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!