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 AX (Archived)

Converting string to int64 in Dynamics Connector

(0) ShareShare
ReportReport
Posted on by

Hi everyone.

I am trying to map a string from CRM to an int64 from AX in the Connector for Dynamics. The only function I came across was:
=ConvertToInt, but that is only for int32.

So how do I convert a string into a int64 in the Connector?

Best regards,

Kenneth

*This post is locked for comments

I have the same question (0)
  • Johnkrish Profile Picture
    781 on at

    Hi Ken,

    have you tried this string fuction ? str2Int64


    Regards

    Johnkrish

  • Sohaib Cheema Profile Picture
    49,438 User Group Leader on at

    which programming language you are using?

    if that is C#, did you tried Convert.ToInt64

    if its x++, have you tried str2int64

    if its some other programming language, possibly this is not right forum to get an answer

  • Community Member Profile Picture
    on at

    I do not know which language the Connctor for Dynamics uses. They have a set of predefined functions. You can't use regular code from C# or X++

  • Community Member Profile Picture
    on at

    Hi John. str2int64 is X++ code which I cannot use in Connector for Dynamics. They have their own set of predefined functions and I do not think we can make our own functions.

  • Verified answer
    Community Member Profile Picture
    on at

    To convert a string to int64 you need to use following function:

    =GetRecordIdFromString()

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 AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans