customerNextNumber
query
Next available customer number
Calculates the next sequential customer number, with optional prefix filtering. Useful when creating new customers to auto-suggest a reference number.
query {
customerNextNumber(companyId: Int!, options: GetNextCustomerNumberOptions): CustomerNextNumber!
}Returns: CustomerNextNumber!
Arguments
| Name | Type | Description |
|---|---|---|
companyId | Int! | |
options | GetNextCustomerNumberOptions |