Stock Management

How do I enter stock qty when posting purchase invoices?

Thank you