Hello Experts,
I have a requirement to access all the relationship data for customer(Has contact, Attributes etc).
I am able to generate the following code successfully in Repository Explorer.
import ABSL;
import AP.FO.BusinessPartner.Global;
var query = Customer.Relationship.QueryByIdentification;
var resultData = query.ExecuteDataOnly();
// 2. Selection
var selectionParams = query.CreateSelectionParams();
selectionParams.Add(query.InternalID, "I", "EQ", "10062");
// Result
resultData = query.ExecuteDataOnly(selectionParams);
But the same code if i copy in After modify event i get error
Error 1 [Activate] Identifier 'QueryByIdentification' does not exist.
Please help.
Thanks and regards, Santosh