Skip to main content

Execute_AddCurrency

Description

Adds a currency amount to the specified entity.

Parameters

ParameterDescription
BaseObjectThe entity that receives the currency.
S1Currency id (Currency.Id).
S2(Optional) Transaction type id (TransactionType.Id).
F1Amount to add (can be negative).

Examples

DescriptionBaseObjectCommandS1S2F1
Adds 1000 Mew to self.SelfAddCurrencyMew1000
Spent 200 Mew on a purchase.TargetAddCurrencyMewExpenseBuy-200