Comments on: Dynamics 365 v9.0 Hidden Gems – #1 Autonumber/2017/10/12/dynamics-365-v9-0-hidden-gems-1-autonumber/Sharing my work and study experience with technologies.Wed, 11 Jul 2018 10:30:17 +0000hourly1http://wordpress.com/By: Hridesh Puri/2017/10/12/dynamics-365-v9-0-hidden-gems-1-autonumber/#comment-397Wed, 11 Jul 2018 10:30:17 +0000/?p=2257#comment-397I am doing a POC on auto number capability. I found one issue with that. If a record creation is failed even then autonumber is incremented. It should not happen.
Just imagine a scenario where a bulk creation fails and auto number increments to several thousands

]]>
By: Andre Margono/2017/10/12/dynamics-365-v9-0-hidden-gems-1-autonumber/#comment-393Mon, 11 Jun 2018 22:49:29 +0000/?p=2257#comment-393In reply to Łukasz Grzybowski-Glikman.

Hi Lukasz.

I haven’t tried with the offline sync. Sequence might be skewed on the offline scenario, where the actual request is happening when it’s syncing to the server. Duplicates I think will less likely to happen, as the sync is happened after the fact.

]]>
By: Łukasz Grzybowski-Glikman/2017/10/12/dynamics-365-v9-0-hidden-gems-1-autonumber/#comment-391Fri, 08 Jun 2018 14:13:40 +0000/?p=2257#comment-391Hi Andre,

Great stuff. Do you know how this works in conjunction with offline sync. Especially in the sequence number scenario?
Does it create new numbers on sync or leaves potential duplicates.

]]>
By: Andre Margono/2017/10/12/dynamics-365-v9-0-hidden-gems-1-autonumber/#comment-368Thu, 24 May 2018 23:09:41 +0000/?p=2257#comment-368In reply to Ashok Kumar.

Seed is not solution aware, you might need to readjust the seed in the next environment. Here is an excerpt from Jonas’ finding: Note that setting the seed only changes the current number value for the specified attribute. It does not imply a common start value for the attribute. Thus the seed is not solution aware to be transported between environments. To set the starting number after a solution import, the `SetAutoNumberSeedRequest` must be called in the target environment.

]]>
By: Ashok Kumar/2017/10/12/dynamics-365-v9-0-hidden-gems-1-autonumber/#comment-366Thu, 24 May 2018 13:45:30 +0000/?p=2257#comment-366Seed is not working when migrating the field from one instance to another if SEQNUM:6 then it always start in next environment after migrating solution from 001000. is there any way to resolve this

]]>
By: Andre Margono/2017/10/12/dynamics-365-v9-0-hidden-gems-1-autonumber/#comment-365Mon, 21 May 2018 03:24:58 +0000/?p=2257#comment-365In reply to Sachith Vidanage.

AFAIK, no. It applicable to all records. 3rd party solution might be able to do the conditional one.

]]>
By: Sachith Vidanage/2017/10/12/dynamics-365-v9-0-hidden-gems-1-autonumber/#comment-364Mon, 21 May 2018 03:18:27 +0000/?p=2257#comment-364Hi Andre,
Can we use this feature to create auto numbers based on a flag? E.g. we want to have auto numbers set only for certain type of Contacts. Not for all. We have a flag to identify this.
Thanks
Sachith

]]>