Hey, I am transforming a sales order with grouped ...
# suitescript
s
Hey, I am transforming a sales order with grouped invoices enabled to an invoice. I'm not changing anything other than the IsMultiShipTo, but I am getting this error. Have any of y'all seen this or know what could be causing it?
Copy code
YOU_CAN_NOT_CHANGE_THE_CUSTOMER_OR_TERM_OR_BILLADDRESS_ON_AN_INVOICE_FOR_GROUPING
You cannot change the customer or term or billing address on an Invoice when its corresponding Sales Order has been marked for Grouping. Remove the grouping option from the Sales Order and Invoice to change the customer
d
I know that shipping addresses are searchable as part of the customer record. It is possible that modifying the shipping address is interpreted as changing the customer on the sales order. I have not seen this behavior previously, but I have had some roadblocks due to the lack of scriptability of group invoicing.
s
Unfortunately nope. I removed that line of code in dev and it still gave me the error
d
I assume that the transformation is successful if invoice group is disabled on the sales order?
s
Yeah, it is.