2022

Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The Query for unsorted order:

Image RemovedImage Added

Query:

SELECT {!.},Account.Id,(SELECT {!OpportunityLineItems/records} FROM OpportunityLineItems) FROM Opportunity where  Opportunity.AVSFQB__Generate_Object__c= 'Invoice' and AVSFQB__Products_Count__c > 0


Solution  

Step 1:

  • Navigate to products under opportunity.  

  • Click on the dropdown present on the rightmost top corner.


Image RemovedImage Added

  • Select the Sort Products button.  

  • Drag the products into the order you want and save.

...

The Query for sorted order:

Image RemovedImage Added

Query:

Code Block
SELECT {!.},Account.Id,(SELECT {!OpportunityLineItems/records} FROM OpportunityLineItems Order By SortOrder) FROM Opportunity where  Opportunity.AVSFQB__Generate_Object__c= 'Invoice' and AVSFQB__Products_Count__c > 0



...