intacct / intacct-sdk-net

Official repository of the Sage Intacct SDK for .NET
https://developer.intacct.com/tools/sdk-net/
Apache License 2.0
31 stars 45 forks source link

create_aradjustment missing supdocid #217

Closed okmotsan closed 2 years ago

okmotsan commented 2 years ago

It appears that AR Adjustments support file attachments in the Intacct web portal, but not via the API.

The field "supdocid" is on the AR Invoice (create_invoice) in the API, but not on the AR Adjustment (create_aradjustment). This is inconsistent.

Why are file attachments on AR Adjustments not supported via the API if they are allowed on the web app? My use case is to attach a PDF of the credit from our front end system to the AR Adjustment in Intacct. This works for the invoices but not for credits.

chrome_oxf7XrldaJ chrome_iTl3iog59E chrome_RIHAErFf4e

okmotsan commented 2 years ago

Further, I tried to modify the SDK class ArAdjustmentCreate to add in the missing supdocid but then Intacct returns this error:

Response control status failure - XL03000003 XML Parse schema error: Error 1871: Element 'supdocid': This element is not expected. Expected is one of ( description, externalid, basecurr, currency, nogl, taxsolutionid, aradjustmentitems ).. Line: 1, column: 0. [Support ID: QTZJpEB034%7EYyjbdP0K2dA--EgW8s3vegAAABg]

dylan-holt-sage commented 2 years ago

@okmotsan, for whatever reason, the team that works on AR features did not add support for supdocid for AR Adjustments for the API when they created them..... There's nothing we can do at this time for this on the SDK front, unfortunately :(

okmotsan commented 2 years ago

Thanks for the update. I'd like to request this feature (correction?) from the API team, if this github for the SDK isn't the right place then can you please let me know where or who I should contact to log my request?