Skip to Content

Unable to fill phone number at contact creation

Dear experts,

I have a requirement to fill phone number at contact creation.

In event after modify of node common of xbo business partner, when I use following code, the business object node is not set so I can not use it.

var newAddress = currBO.ToRoot.AddressInformation.Create().Address.Create();

Do you know why creation method does not seem to work?

Thanks in advance for any help.

Best regards.


Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Sep 07, 2016 at 10:44 AM

    Hello Maurin,

    Yo need to pass somehing in the parametes of Create operation.

    It should be like:
    var a : elementsof nodeA

    var b: elementsof nodeB

    a.something =" somthing"

    var tempA= nodeA.Create(a);

    b.something = "Somethng"


    where "something" are generally the mandatory fields need to fire the Create operation.



    Add a comment
    10|10000 characters needed characters exceeded

    • Meghna Sharma Maurin Ferraud-Ciandet

      Hello Maurin,

      Not sure, but it may be the case that the association is already there. Please check below condition and then try to create:

      var a = currBO.ToRoot.AddressInformation.Create();



      var b = a.Address.Create();



      access Address association directly.



      Thanks & Regards,


Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.