When we are in the process of issuing a bill, invoice, for example, there is the possibility after we choose the customer to automatically add all the items he bought in a certain amount of time.

Under Settings-> Purchases / Sales->Line Settings->Mass insert

Here we define how many days prior to collecting the items of the selected customer / supplier.

If we check the average then the average price of the item is entered.
In order to enable the import of items, we need to check the current document, meaning that it will only search the selected document or write the line numbers of the documents that we want to search for “selected documents”.