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)

Can Any One Share Knowledge on Commerce Run Time (CRT) Concept in Microsoft Dynamics AX With Retail POS and Integration with DotNet..?

(0) ShareShare
ReportReport
Posted on by 120

Hi,

Can any one share your knowledge on Commerce Run Time (CRT) in Microsoft Dynamics AX with Retail POS.

I am new to this environment and i need some functional and technical guidance on CRT and its integration with dot net technology.

Thanks in Advance.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Martin Dráb Profile Picture
    237,965 Most Valuable Professional on at

    Are you aware of AX documentation? Namely Technet: Commerce Runtime [AX 2012].

  • BandaruSrinivas Profile Picture
    120 on at

    Hi Martin,

    Thanks for your attention on guiding me.

    Can i get any samples on CRT.

    samples guide in a better way.

    share its related info.

    Thanks,

    Srinivas B

  • Martin Dráb Profile Picture
    237,965 Most Valuable Professional on at

    I'm afraid you won't get any answer if you don't ask any more specific questions. "Samples on CRT" can mean anything and random samples of random things wouldn't likely meet your needs, therefore providing them would be waste of time for everybody,

    You should rather explain what exactly you don't understand or what problem you're solving. Then somebody may give you relevant examples or explanation.

  • BandaruSrinivas Profile Picture
    120 on at

    Hi Martin,

    What is my problem is,

    Still now there is no such CRT development in my office.

    I took it as a challenge. so, for that environment is ready.

    But the way of implementing the CRT is getting problem to me.

    I am trying to creating a customer with some sample code.

    But getting configuration related errors.

    long channelId = 5637144654;

    var CommercePrincipal = new CommercePrincipal(new CommerceIdentity(channelId, Enumerable.Empty<string>()));            

    string connectionString = "Server=AXPOS;Database=RetailHoustonStore;IntegratedSecurity=true";

    var CommerceRuntimeConfiguration = new CommerceRuntimeConfiguration(connectionString);

    RequestContext context = new RequestContext(CommerceRuntime.Create(CommerceRuntimeConfiguration, CommercePrincipal));

               //Invoking Service

    CustomerDataManager customers = new CustomerDataManager(context);

               //Entity

    Microsoft.Dynamics.Commerce.Runtime.DataModel.Customer customerEntity = new Microsoft.Dynamics.Commerce.Runtime.DataModel.Customer();

    customerEntity.AccountNumber = "New0123456";

    customers.CreateOrUpdateCustomer(customerEntity);

    This is the code piece..

    i am getting the problem at the below mentioned line,

    var CommerceRuntimeConfiguration = new CommerceRuntimeConfiguration(connectionString);

    It is throwing error like Cannot find the assembly or could not loaded assembly, like that message it is throwing..

    Even i included the required dlls also getting the same problem..

    I hope this may give some idea where i am strucking in my development area.

    Guide me on this context.

  • SergeyP Profile Picture
    2,928 on at

    >... It is throwing error like Cannot find the assembly or could not loaded assembly, like that message it is throwing...

    Hard to help without seeing full details (including message and stack trace) of the exception.

    Also, please describe what you are trying to achieve in a first place, from big picture point of view, seems like you started experiencing some technical questions but in fact, based on your needs, there are chances that you are not moving into right direction. So please describe your business goals.

    In general, you are not supposed to use CRT directly (the only exception as of now is Publishing functionality), instead you should use Retail Server only.

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