I have nullified for you in this process
https://b2bhub.crm-onebox.com/admin/customorder/oprikhodovanie-tovarov/349/edit/ both our and the client's obligations by the procedure
http://i.imgur.com/fpbKFa5.pngThe screenshot shows that ours have been reset, but the client's obligations are hanging at minus 2200, since the posting has already occurred
https://b2bhub.crm-onebox.com/admin/customorder/oprikhodovanie-tovarov/349/stora... and this is the cash equivalent the cost of credited goods, what we owe the supplier.
using the checkboxes
http://i.imgur.com/OJHCsAf.png do not forget that the field of the cost of the sale of the goods is taken into account, and not the cost of the purchase, you have 5000 indicated. Also, you should not put two checkmarks at once - this is contrary to logic.
Then, if you check the
http://i.imgur.com/OJHCsAf.png checkbox and activate the procedure, the system will calculate based on the shipped goods at the sale price of 5000 and subtract the current obligations -2200. If obligations are set relative to the additional field, a negative or positive number should also be taken into account. Those. in the incoming process (sales), the value in the additional field must be with +, and in the outgoing - with a minus.