Response Object – AccountSetup
Field | Type | Description |
---|---|---|
ChangeAction | byte | The type of account change requested. Valid values are: 1 – add account |
ChangeStatus | string (50) | The status of the account change, valid values are: Pending – the change is pending action from either the receiver or the third party Rejected – the change has been rejected by the third party |
ChangePending | string (50) | “POS action required” – means the account change requires some action from the user |
SupplierId | int | The unique PharmX ID for the supplier company receiving the order (e.g, API Australia has SupplierId = 5) |
StateSupplierId | int | The PharmX ID for the supplier where the supplier is sub-divided into states (e.g. , API NSW has StateSupplierId = 1107) |
AccountNumber | string (50) | The supplier allocated account number that identifies the pharmacy’s account. |
MaxOrdersPerMonth | int | Not currently used. |
MinimumOrderValue | decimal | The minimum order value required for an order not to incur a freight charge. |
FreightCosts | decimal | Not currently used. |
Note | string | The most recent note relating to this account change. |
AccountSetupId | guid | The unique identifier the account setup. |
BillToAccountNumber | string | The supplier allocated account number that identifies the account to which the financial liability will be attached. |
WithSupplier | boolean | If “true”, this account change is awaiting action by the supplier |
WithVendor | boolean | If “true”, this account change is awaiting action by the POS system |
PaymentType | int | 0 = Credit 1 = Prepaid |
SiteId | int | Not currently used. |