You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Using Sales territory coverage Vo (TerritoryDimensionalityPVO )in Groovy

edited Sep 7, 2021 8:58AM in Sales 11 comments

Summary

Not able to use Sales territory coverage Vo (TerritoryDimensionalityPVO )in groovy

Content

Hi All,

i'm trying to fetch territory name based on the coverage, and i'm using  Sales territory coverage Vo (TerritoryDimensionalityPVO ) with below script, but im facing "Definition AddressPostalCode of type Attribute is not found." Error.

Code:

def cvo = newView('TerritoryDimensionalityPVO')
def cvc = cvo.createViewCriteria()
def cvcr = cvc.createRow()
def cvci = cvcr.ensureCriteriaItem('AddressPostalCode')

 

Regards,

Sudheer.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!