cancel
Showing results for 
Search instead for 
Did you mean: 

Filter Competitor with PDI field

former_member273875
Participant
0 Kudos

Dear experts,

Currently, I query Competitor but the query doesn't contain any filter parameters then the data return too big that affect to our performance. Could you please help me on this issue? Do we have any ways to filter the Competitor?

var competitorsQuery = BusinessPartner.QueryByIdentification;


// 2. Selection
var competitorsSelectionParams = competitorsQuery.CreateSelectionParams();


// 4. Filter plants by sale organization id
//competitorsSelectionParams.Add(competitorsQuery, "I", "EQ", this.LeanLeadSalesUnitCode.content);
//we cannot filter PDI field although added it by process extension

// 5. Result
var competitorsResultData = competitorsQuery.Execute(competitorsSelectionParams);
 

Regards,

Huy-Nguyen

Accepted Solutions (1)

Accepted Solutions (1)

JOSC_ITLAB
Participant
0 Kudos

Hi Quang,

in your BO-Extension file, did you add the annotation [Scenario(Scenario_Name)].

For Scenario_Name you have to add the name of your create process extension scenario.

Hope it helps.

Kind Regards,

Johannes

Answers (1)

Answers (1)

former_member273875
Participant
0 Kudos

Hi Johannes,

Thanks for guide. I can search with custom field now.

Best Regards,

Huy-Nguyen