logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
AndrzejPalczewski  
#1 Posted : Friday, February 11, 2022 7:29:11 PM(UTC)
AndrzejPalczewski

Rank: Newbie

Groups: Registered
Joined: 5/3/2021(UTC)
Posts: 6
United States

Thanks: 1 times
We have written an application that uses API in order to Create/Update Customers and Create Invoices in CenterPoint.

When a new customer is created by API, the "Billing Statement Type" is set to "Balance Forward". Is there any way that it can be set to "Open Items" by default?

Thank you.
aarony  
#2 Posted : Friday, February 11, 2022 7:41:02 PM(UTC)
aarony

Rank: Administration

Groups: Administrators, Moderator, Registered
Joined: 2/28/2018(UTC)
Posts: 50
Location: Red Wing, MN

Was thanked: 3 time(s) in 3 post(s)
If you are using the Customer API you should be able to simply set the StatementType property of the NameModel instance to NameStatementTypes.OpenItems before you save the Customer.
AndrzejPalczewski  
#3 Posted : Saturday, February 12, 2022 2:29:33 PM(UTC)
AndrzejPalczewski

Rank: Newbie

Groups: Registered
Joined: 5/3/2021(UTC)
Posts: 6
United States

Thanks: 1 times
Thank you for the information.
Is there a document that lists all NameModel variables (like StatementType) and possible values of the codes (like NameStatementTypes.OpenItems)?
Thanks

aarony  
#4 Posted : Monday, February 14, 2022 1:59:40 PM(UTC)
aarony

Rank: Administration

Groups: Administrators, Moderator, Registered
Joined: 2/28/2018(UTC)
Posts: 50
Location: Red Wing, MN

Was thanked: 3 time(s) in 3 post(s)
You can install our API Documentation and Import/Export Tools through the product installer; select a custom installation and enable the appropriate features.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.