Magidoc

createFinanceGlCompany
Mutation

Provisions a company that keeps its own set of books. The first company a workspace adds becomes its default whatever the input says. Access: 'setupUpdate' in a workspace where finance is enabled. Errors: the company ID or name is blank; the company ID is already used in this workspace; the currency is not the workspace base currency; the workspace has no finance setup profile; another request moved the default while this one saved.

Arguments

#

workspaceId

ID !
Non-null

input

Non-null

Response

#

Returns FinanceGlCompany !.

Example

#