What you're saying is with the above it's incrementing even though increment setting is set to 0? Is it always incrementing by 1?For me it is not a problem now as I've kind of turned off your invoices numbering and made my own with the 3 UPDATE queries in the autoAction I've posted above.
You can use an IF substitution to condition those fields and only show them if they actually have a value. I don't know when exactly those fields are populated, but depending on the trigger used you should be able to directly access the baskets columns, which contain the invoice address information.Now I've noticed a bigger problem: the invoicing fields are mandatory but if the user doesn't change any of the pre-populated invoicing fields nothing gets saved in the CB invoicing fields. And because I'm including them fields in the emails with your substitutions, namely:
Please Log in or Create an account to join the conversation.
What you're saying is with the above it's incrementing even though increment setting is set to 0? Is it always incrementing by 1?
The below should work to allow a CB field to act as the invoice number. The CB field you'd use is a query field that calculates the invoice number. It would always need to return the next invoice number.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.