You have probably noticed that, when filling the document, you needed to enter the total in each row. That is a nuisance and the natural impulse is to automate the document so that the total is automatically calculated every time there is a change to the price or quantity of materials in a row.
It is actually easily accomplished. To do so, you will first create a custom document form, and then use the 1C:Enterprise script.
So far you always used the predefined object forms generated by 1C:Enterprise. Now you have come to the point when you need a slight modification of the document form logic, and that means you need to create a custom form for the GoodsReceipt document where you will define the required algorithm using 1C:Enterprise script. The platform will use that custom form instead of the default form.
Next page: Document form