Search Engine: Elastic

Article ID: 133273, created on Oct 9, 2018, last review on Oct 9, 2018

  • Applies to:
  • Business Automation 7.0

Symptoms

PlaceOrderAndAuthorize_API fails, problem report contains the following error:

ERROR: null value in column "AddedByUsersID" violates not-null constraint

Cause

Account specified for the API does not have users, it was created with AccountAdd_API.

Resolution

Correct way to create account and place sales order at once is to use PlaceOrderAndAuthorize_API for all these actions. This API can create Account and staff member as well as Sales Ord.

Refer to Billing 7.2 OA Billing Public API Reference

198398b282069eaf2d94a6af87dcb3ff caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07 c0f836394088a28cc30dd0e5fe8b600e b2c3b33425dfc50c7d41a2efaa7f84f3

Email subscription for changes to this article
Save as PDF