Skip to Content
Author's profile photo Former Member

Various SDK tests

While answering to some questions on the forum, it appers that most newcomers are lost with the samples provided with the SDK. Besides that some needs to be refreshed a bit, they don’t necessarily depicts all the API and by the way how they are used by some of the developers.

To try to answer this one, I will provide in this blog the sample application I’m using to implement the various tests I do to answer questions.

The actually implemented tests are:

  • DI and DIS connection,
  • Getting the connected user’s credentials to connect to a new company,
  • Updating Sales Order from xml file,
  • Using default serie numbering while creating a Business Partner,
  • Purchase delivery and corresponding order cancelation,
  • Doing External Reconciliation,
  • Posting a Sales invoice and its related payment,
  • Modifying the packing slip from a sales invoice,
  • Modify a UoM group,
  • Posting an incoming payment to an invoice and a previously unreconciled payment.

2014-10-07 additions:

  • Testing of authentication validation without open onnection,
  • Changing the title of a CFL detail form.

These examples were all tested on V9.0 (various PL) and are all working.

http://www.elconsulting.fr/public/downloads/MyTests.zip

The updated program.cs file:

http://www.elconsulting.fr/public/downloads/program.cs

I will add more over time.

Regards,

Eric

Assigned Tags

      7 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Ibrahim Rasheed
      Ibrahim Rasheed

      Hi Eric thanks for the blog,

      Can u provide authentication for Samples (link is asking for a username and a password)

      Thanks & Regards

      Author's profile photo Former Member
      Former Member
      Blog Post Author

      Hi Ibrahim,

      I have updated the link to http, since it doesn't need any authentification to download.

      Regards,

      Eric

      Author's profile photo Leonardo Azevedo
      Leonardo Azevedo

      Hello Eric,

      great initiative my friend, congrats for the blog!!

      Thanks and kind regards,

      Leo.

      Author's profile photo Ankit Chauhan
      Ankit Chauhan

      Hi Eric,

      Nice thing to have. Congrats.

      Thanks & Regards

      Ankit Chauhan

      Author's profile photo Former Member
      Former Member
      Blog Post Author

      Hi Ankit,

      Glad you like. If it can help, this is done for.

      Regards,

      Eric

      Author's profile photo Former Member
      Former Member

      Hi Eric,

      The "Changing the title of a CFL detail form." seems to be what I was looking for, but the link to download doesn't works.

      Can you re-upload them again, please?

      Thank you.

      Author's profile photo Former Member
      Former Member
      Blog Post Author

      Hi Sergio,

      Links are still valid from my tests...

      Regards,

      Eric