Add
Add a new currency. The command takes seven arguments: ISO code,
name, numeric code, symbol, fractions per unit, change reason code,
and change commentary — the last two feed the audit trail and are
mandatory (the currencies_change_reason_code_check constraint
rejects rows without a valid reason code).
currencies add TEST700 Test700 700 T7 100 system.test "shell recipe example" exit
export ORES_SHELL_LOGIN_PASSWORD ./ores.shell ${log_args} ${connect_args} ${login_args} << 'EOF' <<currencies-add>> EOF
✓ Connected to :42221 ✓ Logged in as: newuser3 ORE Studio Shell REPL v0.0.19 Type 'help' for available commands, 'exit' to quit. ores-shell> ✓ Currency added successfully! ores-shell> Bye!