I’m trying to access a field from the scheduling resource. This works for a standard field like this:
Resource_API.Get_Description(#RESOURCE_SEQ#)
However, I want to retrieve a custom field and cannot figure out the correct syntax.
Any pointer appreciated.
Where does the custom field sit? It’ll be something like below, depending on if it’s persistent or reference.
Resource_Cfp.Get_Cf$_your_field(#RESOURCE_SEQ)
Resource_Cfp.Get_Cf$_your_field.Get_your_field(Resource_API.get_objkey(#RESOURCE_SEQ))
Thanks André! Based on this custom attribute...
...this statement worked:
resource_cfp.get_cf$_customattribute(resource_api.get_objkey(#RESOURCE_SEQ#))