====== When creating a document, by default the seller is entered through the client, and then you can change the seller directly when the loading. ====== **Remark:** In order to simplify testing, we can create 2 documents with the same seller. This will allow you not to repeat the action to create / verify payroll twice. ===== Creating Loads ===== **Action:** Create "Brk Load". Remember seller. **Action:** Create "Trk Load" **Action:** Change the seller to the same as in the document "Brk Load" **Expectation:** 2 documents with the same seller must be created and filled. ===== Create Payroll ===== **Action:** Press button "Saleman Payroll" from Welcome page or **Action:** select menu item "Payroll/Fueltax - Saleman Payroll" {{:salesman_payroll_process1.png?direct&400 |}} **Action:** - Select date range - Select the type of processed loads - Select seller - Wait for the grid to be filled with the data of his loads **Expectation:** {{ :salesman_payroll_process2.png?direct&400 |}} 2 rows should appear in the grid corresponding to the previously created documents **Action:** Close a window ===== Salesman lock/unlock check ===== **Action:** Return to "BRK Load" **Expectation:** {{:brk_load_salesman_inactive.png?direct&400 |}} The field "Saleman", make sure that it is inactive and there is a button next "Reverse salesman payroll" **Action:** Change seller **Action:** Return to "TRK Load" **Expectation:** {{:trk_load_salesman_inactive.png?direct&400|}} The field "Saleman", make sure that it is inactive and there is a button next "Reverse salesman payroll" **Action:** Change seller ===== Additional verification of payroll ownership ===== Go to "Sales Payroll" * **Action:** Check payroll on the observations of the salesperson. * **Expectation:** no more amounts are expected * **Action:** Salary check on a new seller, * **Expectation:** for sure that the lines appeared