Update minor_rev property is possible without applySQL

オフライン

Hi,

I need to update the "minor_rev" property and I came across this post:

https://www.aras.com/community/f/development/3845/update-the-minor_rev-property-with-client-method-fails 

So basically if you put a value like "1" into "Default Value" in an ItemType, then you will be able to update the "minor_rev" property like:

item.setProperty("minor_rev", "2");

Hope it helps!

Parents
  • Hi Krepop,

    Thank you for taking up the topic! The post is pretty old, but I still update the minor rev with SQL till today! For example when user copy an item and the value shall be reset to "01".

    Unfortunately your tip didn´t work for me. I already had a "Default Value" specified . 

    Out of interest I made a quick test in Release 2023 and even there I wasn´t able to do a simple update of the minor_rev with AML. It doesn´t make any sense at all.

    Angela

  • 0 オフライン in reply to AngelaIp

    Hi AngelaIp,

    Thanks for your help!

    I tested it further and you are right, it is still not possible, I thought it had to do with the "Manual" versioning but it seems it is not connected to that.

    I updated minor_rev with SQL and OnBeforeVersion, sorry for the confusion!

Reply Children
No Data