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

Finding parent based on property

Summary: I am trying to find the correct parent (GAAP (G0000) v/s Non GAAP (NG000)) based on custom property (GAPP (G) v/s Non GAAP (N)) from ERP Nodetype to any other Nodetype. Below is the node converter expression that I am trying but it is not working.


{

if (sourceNode.properties.FCGL.Summary.equals(false))

{

return sourceNode.properties.Core.Name

} else

{

if (sourceNode.properties.Custom.GAAP vs Non-GAAP.equals("G"))

{

return "G0000"

} else

{

return "NG000"

}

}

}


Content (required):


Version (include the version you are using, if applicable):


Code Snippet (add any code snippets that support your topic, if applicable):

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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