web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

Auto Number Manager on System created records

(0) ShareShare
ReportReport
Posted on by 15

Hi,

I'm encountering an issue where we have Auto Number Manager set-up against the Account entity, however any accounts created pragmatically by the system aren't triggering the Auto Number and therefore return a blank value.

Some background: Accounts are created by the system as we have external systems that have an API feed into Dynamics and then de-duplicate & create the records within Dynamics.

Any ideas as to why this is happening/how to resolve it?

Thanks,

Michael

I have the same question (0)
  • winston he Profile Picture
    220 on at

    Hi Michael, 

    Does the Auto Number manager refer to a 3rd party solution? if that is the case, you can check if there is any async plugin | workflow which generates the number works fine or not.

    BTW, actually auto number is a built-in feature since CRM9.*, would you like to try it?

    https://docs.microsoft.com/en-us/dynamics365/customerengagement/on-premises/developer/create-auto-number-attributes

  • MichaelHoward Profile Picture
    15 on at

    Hi Winston,

    It isn't a 3rd Party solution no, we've using the AutoNumberManager within XRMToolBox associated directly with our main solution.

    Thanks,

    Michael

  • winston he Profile Picture
    220 on at

    Hi Michael,

    Auto Mananger is a community tool which is not a product of Dynamics, which is based on the auto number feature of Dynamics CE.

    https://docs.microsoft.com/en-us/dynamics365/customerengagement/on-premises/developer/create-auto-number-attributes

    pastedimage1582014235700v2.png

    From Dynamics CE perspective,  you can try to create a auto number attribute easily with web API  like this using Tabbed Postman tool, and see if everything is fine.

    -----------

    POST [Organization URI]/api/data/v9.0/EntityDefinitions(LogicalName='new_widget')/Attributes HTTP/1.1
    Accept: application/json
    Content-Type: application/json; charset=utf-8
    OData-MaxVersion: 4.0
    OData-Version: 4.0

    {
    "AttributeType": "String",
    "AttributeTypeName": {
    "Value": "StringType"
    },
    "Description": {
    "@odata.type": "Microsoft.Dynamics.CRM.Label",
    "LocalizedLabels": [
    {
    "@odata.type": "Microsoft.Dynamics.CRM.LocalizedLabel",
    "Label": "Serial Number of the widget.",
    "LanguageCode": 1033
    }
    ]
    },
    "DisplayName": {
    "@odata.type": "Microsoft.Dynamics.CRM.Label",
    "LocalizedLabels": [
    {
    "@odata.type": "Microsoft.Dynamics.CRM.LocalizedLabel",
    "Label": "Serial Number",
    "LanguageCode": 1033
    }
    ]
    },
    "RequiredLevel": {
    "Value": "None",
    "CanBeChanged": true,
    "ManagedPropertyLogicalName": "canmodifyrequirementlevelsettings"
    },
    "SchemaName": "new_SerialNumber",
    "AutoNumberFormat": "WID-{SEQNUM:5}-{RANDSTRING:6}-{DATETIMEUTC:yyyyMMddhhmmss}",
    "@odata.type": "Microsoft.Dynamics.CRM.StringAttributeMetadata",
    "FormatName": {
    "Value": "Text"
    },
    "MaxLength": 100
    }

    Or you can post your query to Auto Number Manager community : https://www.xrmtoolbox.com/plugins/Rappen.XrmToolBox.AutoNumManager/

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Siv Sagar Profile Picture

Siv Sagar 93 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 76

#3
Martin Dráb Profile Picture

Martin Dráb 64 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans