---
title: "How to set prices on the Doc, at a click of a button?"
canonical: "https://wiki.soft1.eu/space/SKEN/838598706/How+to+set+prices+on+the+Doc%2C+at+a+click+of+a+button%3F"
format: markdown
---
🌱 You can **set prices **in header fields and/or Doc lines, using SetValue, query execution, etc., in SOFTONE Retail Pro. For example, you can set, at the click of a button, a specific **Series**, **Payment Method**, **Line Discount**, etc.

1. To define a specific **Series **in the Doc, add the **Formula **from [S1 Retail Designer](https://wiki.soft1.eu/space/SS5EN/189268827/Soft1+Retail+Pro+-+S1+Retail+Designer)** **Operations (POS Display → Operations Grid) and in the corresponding field define the SETVALUE that you want to be executed, e.g. SETVALUE('SERIES',8072), to select the document Series 8072. 💡 Make sure that the Series has been defined in the [Workstation](https://wiki.soft1.eu/space/SS5EN/189268829/Soft1+Retail+Pro+-+Parameter+groups+%26+Workstations).
2. Similarly, to select a specific **Payment method** on the Doc, set in Formula e.g. SETVALUE('PAYMENT',1000) to have the Payment Method with code 1000 (cash) filled in the Doc.
3. To set a **discount **e.g. 20% on the Doc line, set SETVALUE('ITELINES.DISC1PRC',20) in Formula. In Retail Pro, select the item in the lines and click the button you created via Formula to apply the discount.




![image-20250116-092809.png](media://9ad7c87b-8684-4b1f-8793-fa6fededb11d)

### FAQs

> Macro (contentbylabel)