bgmulinari / B1SLayer

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

Document Status #39

Closed gfxa closed 1 year ago

gfxa commented 1 year ago

Hello @bgmulinari,

If there is a way to change the status of a document via B1SLayer?

Service Layer API Reference: POST ../b1s/v1/Orders(123)/Cancel POST ../b1s/v1/Orders(123)/Close POST ../b1s/v1/DeliveryNotes(123)/Cancel

bgmulinari commented 1 year ago

Hi, @gfxa.

Yes. Check the example below:

await serviceLayer.Request("Orders(123)/Cancel").PostAsync();
gfxa commented 1 year ago

Thank you for the quick response! 👍