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

Obtaining the additional Address attributes via script.

edited Nov 23, 2018 8:00AM in Sales 2 comments

Content

Does anyone know how to get the values for the additional attributes of the Address ?

 

AddrElementAttribute1

AddrElementAttribute2

AddrElementAttribute3

AddrElementAttribute4

AddrElementAttribute5

 

When we try to create a script on the Address object, the fields listed above are not showing in the field list of the Expression palette.

 

Below is the script we used:

 

Code Snippet

def partySiteIterator = PartySiteUse

while(partySiteIterator .hasNext())
{
def partySiteRow = partySiteIterator.next()
def locationRow = partySiteRow.Location
if (locationRow != null)
{
println("AddrElementAttribute1 - " + locationRow.AddrElementAttribute1)
}
}
Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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