intacct / intacct-sdk-js

Official repository of the Sage Intacct SDK for JavaScript in Node.js
https://developer.intacct.com/tools/sdk-node-js/
Apache License 2.0
23 stars 33 forks source link

Add ArPaymentCreate but not the legacy version #45

Closed gabisanmartin12 closed 3 years ago

gabisanmartin12 commented 3 years ago

I need to create an AR Payment using the new create function on the ARPYMT object. You implemented the legacy version that creates an ARPAYMENT object instead. I need to know:

Thanks in advance!

kmanske81 commented 3 years ago

Currently we don't support ARPYMT object as part of the SDK.

The legacy version supports some functionality such as Advances that are currently not supported in the ARPYMT object. Our approach is to only expose one flavor of an API object. Therefore we decided to keep the legacy object to further support advances.

We have checked with the owner of AR API objects and they confirmed that AR Advances will be refactored in the first half of 2022.

In the meantime, you could create an additional object in your local copy in order to support both flavors. If you like you can also issue a pull request with your changes if you decide to support ARPYMT.

Please let us know if you have any other questions.