Hello please help us with advise how to close massively sales or purchase orders which are partially or totally unfulfilled during a defined date range. Thanks a lot for your help.
You can use standard SAP Business One functionality for this
Go to the Open Items List via Sales A/R > Sales Reports > Open Items List
Choose Sales Order in the combo box on the top right of the window, then right click on the grid header apply the filters you want for the dates or other values.
Then, select the relevant documents and go to Data menu > Close.
The same process for Purchase Orders excerpt you select PO's in the combo box.