---
title: "How to display a custom CCC field in the line details of Retail Pro?"
canonical: "https://wiki.soft1.eu/space/SKEN/643083354/How+to+display+a+custom+CCC+field+in+the+line+details+of+Retail+Pro%3F"
format: markdown
---
🌱 To enable the display of a custom CCC field in the line details of Retail Pro, work as follows:

1. Add a command-type button in the S1 Retail Designer's line details. This button will open the item line pop-up form, similar to the functionality in SOFTONE ERP.
2. Add the custom field to the pop-up form under Doc lines, in the screen or workstation layout design. This allows you to:
  - select the custom field and display related information,
  - use the following script to define the button behavior:  
function EXECCOMMAND(cmd) {  
if(cmd == 20200616) X.OPENSUBFORM('SFITELINES');}
  - set this design as the retail view through the [Workstation – Parameter group](https://soft1wiki.atlassian.net/wiki/spaces/SS5EN/pages/189268829) settings.

### FAQs

> Macro (contentbylabel)