Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

Customer Payment API - Add field

(0) ShareShare
ReportReport
Posted on by 2,784

Hi All

I have created a new copy of the Customer Payments APIv2 and tried to add new fields but looks like you cannot simply add fields - similar to say customer API. For example, if add Bal Acct Type or Shortcut Dim 1 code or anything not in the original API, using POST though no error data does not get populated. Then I looked at the Graph code units and I could see that only fields defined in below code unit are available:

Graph Mgt - Journal Lines
Now my question is how do we add new fields? Do we need to create our own Graph code unit? 
  • Suggested answer
    Suresh Kulla Profile Picture
    46,916 on at
    RE: Customer Payment API - Add field

    Please check this

    www.kauffmann.nl/.../

    github.com/.../APIV2

  • FredMibu Profile Picture
    45 on at
    RE: Customer Payment API - Add field

    Sorry to hijack your post a bit, can you tell me where you got the source of the API, i need to customize SalesOrder APi and I cant find the source.. Since you created a copy of a V2 API i figured you had it

  • Suggested answer
    JAngle Profile Picture
    83 on at
    RE: Customer Payment API - Add field

    What if you create an api page without using the graph mgt. codeunit? Then you don’t have to conform to the design. Api pages being the preferred method of implementation you could base it more on the typical odata way. For instance if you publish the cash receipt journal page and post data you just need the template and batch name to satisfy accessing the underlying table

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,118 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,866 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans