Magidoc

SetupDefaults
Object

Fields

#

controlAccounts

multicurrencyAccounts

productBoundary

Non-null

baseCurrency

Non-null

transactionCurrencies

[String !]!
Non-null

Transaction currencies this workspace enables beyond baseCurrency, as canonical uppercase codes. Empty is the single-currency workspace: the base is always a transaction currency, so the enabled set is this list plus the base and never this list alone.

enabledTransactionCurrencies

Every currency this workspace can transact in: the base first, then the currencies provisioned beyond it, spelling-normalized and deduplicated. This is the resolved set the stored list's description promises — computed server-side by the one derivation (resolveEnabledTransactionCurrencies, the same one the multiCurrency fact counts), so the authoring pickers that offer it never re-derive base-vs-stored semantics on the client. One entry is the single-currency workspace; the picker it feeds has exactly one honest option.

Nullable the way autoReversal is: the wire's way of saying computed-not-stored. The defaults field resolver derives it whenever a profile resolves, so a client never actually receives null — but the parent the resolvers return is the stored document, which rightly does not carry a derived value.

locale

BCP-47 locale the finance surfaces format money and dates in. Null until the workspace chooses one.

roundingMode

Non-null

moneyScale

Non-null

taxProvider

Non-null

billingMethod

Non-null

rateSource

Non-null

numbering

Non-null

allowDuplicateVendorInvoiceNumbers

Whether one vendor may be billed twice under the same invoice number. Null reads as false — the default, and deliberately the opposite of the benchmark's, because A/P is the rail where a duplicate moves money. It applies from the moment it is set: bills already recorded keep the uniqueness they were recorded under.

Usages

#

References

#