Account Define
Paritech.OMS2.Control Account Define <Hub> <Owner> <Account>
Defines an Account’s metadata in OMS.
Arguments
Section titled “Arguments”Field | Description |
---|---|
Hub | The OMS-2 Hub to connect to. |
Owner | The unique identifier of the Owner for the Account. |
Account | The unique Account identifer. |
Available Options
Section titled “Available Options”Option | Description |
---|---|
-Attrib | An attribute for this Account. Can be specified multiple times. |
-Category | A category code to assign to this Account. Can be specified multiple times. |
-Class | A classification for this Account. |
-Currency | The default currency code to use for this Account. |
-Name | Friendly name of the Account. |
Output
Section titled “Output”The process result will be 0 on success, and a negative value on failure.
Examples
Section titled “Examples”Paritech.OMS2.Control Account Define XOSP XS 1234 -Name "New Account 1234" -Class Standard -Currency AUD -Category PRO -Category INT -Attrib VettingMode Limited
More Information
Section titled “More Information”Utilises the /account API.