IAssetsMarketsPositionCostCreateCashTransaction Property

Stator | API Documentation
True if you would like a cash transaction to be created for this position cost.

Namespace:  Stator.libPublic.ImportPlugins.DataObjectInterfaces
Assembly:  libPublic (in libPublic.dll) Version: 4.0.2018.0 (4.0.18103)
Syntax

bool CreateCashTransaction { get; set; }

Property Value

Type: Boolean
Remarks

Why would I want a cash transaction to be created? By default, when you create a position cost within Stator cash transactions are automatically created to reflect
funding credits and debits. This (boolean) flag allows you to specify if you would like a cash transaction to be automatically
created for the position cost.

If a cash transaction is to be created you have the additional option of making the transaction assigned or unassigned. For example
to assign the cash transaction please specify a CashAccountUniqueIdentifier. Alternatively to keep the cash transaction
unassigned please omit this field, the cash transcation will be assigned to the estate belonging to the underlying position.

Please also note that if the import results in a position cost being edited, this field will control if the cash transaction (if found)
will be edited or deleted. i.e. setting this to false when a cash transaction exists will mean the transaction will be deleted.

See Also

Reference