Quantcast
Channel: SambaClub Forum - Latest topics
Viewing all articles
Browse latest Browse all 8858

Best way to store custom system settings

$
0
0

@pauln wrote:

So I am considering storing system settings such as; Happy Hour Start/Stop Days & Times; Reward Points to Dollar conversion rates and so.

We know by using ACTION:Update Program Setting we can store a settings, and we can use {SETTING:Variable} to access the variable.

So what if we wanted to not hard code the Variable "Values" in rules to make SambaPOS more portable?

Firstly: can the ACTION:Update Program Setting - read a Variable like {ENTITY DATA:Configuration.ConvRate}?
Secondly: would we use an Custom Entity say "Configuration" 1 flat Record OR 2 field variable using Field Name (Convrate) & Field Value (250)?
Lastly:, how would we edit the data? Custom Editor Widget like "Ricks" or "Q"'s Z-read Screen?

Interested to know thoughts, many thanks.

Posts: 16

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 8858

Trending Articles