bgmulinari / B1SLayer

A lightweight SAP Business One Service Layer client for .NET
MIT License
136 stars 47 forks source link

Cant upload multiple attachments in a single request? #19

Closed josue30iso closed 1 year ago

josue30iso commented 2 years ago

I needed some way to make multiple file upload to obtain a single attachment entry... It's this actually possible?

bgmulinari commented 2 years ago

Hi, @josue30iso. Currently this is not possible, but I'll be adding support for it in the upcoming version.

bgmulinari commented 1 year ago

Hi, @josue30iso.

I'm sorry for the delay on this, but I was mistaken on my previous answer. Uploading multiple files to a single attachment entry is already possible through the method PostAttachmentsAsync, where you use a Dictionary to specify the files you want to upload. If you have any doubts, please let me know.