Options

Question about Transaction!!!

JTProJTPro Member Posts: 169
Hello all!!!


Who is able to tell me what command starts transaction and what ends it and where I can find something about it?

Best regards!!!
Navision Application Version: 4.0SP1
Navision Database Version: 4.0

Comments

  • Options
    DenSterDenSter Member Posts: 8,304
    There's no command in C/AL to start or end a transaction. The closesat thing you get to ending a transaction is the COMMIT keyword. This command saves all database modifications made up to that point. If the process runs into an error, the rollback will not go back further than the latest COMMIT.
  • Options
    kinekine Member Posts: 12,562
    Write Transaction is started with:

    MODIFY, DELETE, INSERT, RENAME.


    Ended with:

    COMMIT, end of C/AL code, ERROR
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
Sign In or Register to comment.