Can you please explain what the difference is between api_datasource.isdirty and api_datasource.isdmlnecessary? Wich one is the best to use in order to check if a datasource has uncommitted changes?

Thanks again, Michiel

asked 03 Jul '12, 08:09

Michiel%20A's gravatar image

Michiel A
accept rate: 13%

Hi Michiel,

İsDmlNecessary function returns Y when the dasource has uncommitted changes ans it is updatable. Updatable datasource means at least one of the delete/update/insert permissions should be checked on the datasource definition. The function will always return N if it is not updatable, even its rows are modified.

isDirty api always returts Y if datasource rows are modified. It doesnt check if the datasource is updatable or not.


answered 03 Jul '12, 11:28

Ugur%20Kocak's gravatar image

Ugur Kocak ♦
accept rate: 23%

Hi Ugur,

Ok, now its clear.

Thanks, Michiel

(03 Jul '12, 13:01) Michiel A
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 03 Jul '12, 08:09

Seen: 1,689 times

Last updated: 03 Jul '12, 13:01

© Copyright Gerger 2017