Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No function for Get support for filtering GetList? #109

Open
ianclark84 opened this issue Nov 4, 2022 · 0 comments
Open

No function for Get support for filtering GetList? #109

ianclark84 opened this issue Nov 4, 2022 · 0 comments

Comments

@ianclark84
Copy link

Hello -

I've been trying to figure out how to get an attachment ID after using Functions.Company.AttachmentsCreate() in order to assign the attachment ID to an AP Bill. This function does not return the attachementId and the "supdoc" object type isn't available through the Read() function.

The only way I can see to get the attachment ID is through the GetList() function at Functions.Common.GetList, which isn't in the documentation but I found by browsing through the repo. This function does not appear to support filtering? Is there a Get() function on the horizon, or support for filters in GetList()?

The GetList() function works and I'm able to retrieve the attachment ID and correctly update the Bill, but it will get out of hand pretty quickly without support for filtering as it returns all attachments.

Essentially I'm looking for the following in the SDK:
https://developer.intacct.com/api/company-console/attachments/#get-attachment-by-id-legacy

Or am I totally missing the recommended way to get details for an attachment?

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant