Get Catalog Product Group Information for PRODUCT
Summary
Need to get catalog product group information for the products added into revenue linesContent
Have revenue lines with type as Group & Product. Able to get catalog information for type Group revenue lines using ProductGroupDetail related collection of revenue line in groovy. But it won't return any information for Product revenue lines.
So how to get catalog product groups for the revenue lines which have PRODUCTS?
Version
20DCode Snippet
def RevItems = ChildRevenue while(RevItems.hasNext()) { println('******* Revenue Lines *********') def RevItemRec = RevItems.next() println('RevnId: ' + RevItemRec.RevnId + ' ProductType: ' + RevItemRec.ProductType + ' InventoryItemId: ' + RevItemRec.InventoryItemId + ' Description: ' + RevItemRec.Description + ' ProdGroupId: ' + RevItemRec.ProdGroupId + ' ProdGroupName : ' + RevItemRec.ProdGroupName + ' ResourcePartyId: ' + RevItemRec.ResourcePartyId + ' PartyName2: ' + RevItemRec.PartyName2 + ' OldOwnerId_c: ' + RevItemRec.OldOwnerId_c + ' Name1: ' + RevItemRec.Name1 + ' PrTerritoryVersionId: ' + RevItemRec.PrTerritoryVersionId + ' TerrOwnerPartyId: ' +
0