Forum Discussion

adambilcich's avatar
2 years ago

SDK Create Customer with Address

When creating a new Version2.Contact.Customer in the .Net SDK, as the addresses field is an ienumerable you cannot create a new address and add it to the customer.  Using the below code the customer posts correctly

var Location = Await service.InsertAsync(cf, Customer, credentials, ct);

How do you then create an address and link it to that existing customer?

1 Reply

  • Earl_HD's avatar
    Earl_HD
    MYOB Moderator
    2 years ago

    Hi adambilcich,

    Thanks for your post, and welcome to the Community Forum! It looks like you're trying to add a new address to an existing customer's address collection in the .NET framework. I suggest consulting with an IT Specialist for additional support.

    Feel free to post again, we're happy to help!
    Regards,
    Earl

Looking for something else?

Search the Community Forum for answers or find your topic and get the conversation started!

Community home

Level up your skills using MYOB software.

 

Find help guides and technical solutions for all MYOB products here

Explore video tutorials for our software at the MYOB Academy here

 

Dig into MYOB Academy for free courses, learning paths and live events to help build your business with MYOB.