0

I am trying to sort line items on the output document in a specific order; the order being by Product Code but in a specific way other than Ascending. Is this a feature I can utilize?

Ex.
ProductCode03
ProductCode01
ProductCode07
etc...

  • Quote lines display in order by the "Number" field, so you could theoretically write an apex function that would iterate through the quote lines on a quote and set their Number values to achieve the sorting you want. However there is potential for this to have bad interactions with the many CPQ triggers that act on quote lines, so you would have to be pretty careful. – OBerm Jun 25 at 18:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.