Skip to Content
0
Former Member
Dec 07, 2013 at 11:47 AM

Sorting Partner in Parties involved

52 Views

Hi All,

I have a requirement to enhance the sorting in Parties Involved AB for Opportunity (I'm working on BTPARTNER/Partner).

I successfully managed to enhance the DO_PREPARE_OUTPUT method in order to change the sorting sequence to use PARTNER_FCT (Partner Function) instead of partner function description.

Actually it works fine but the new requirement is to create a sorting based on the BP relationship.

In other words I should sort Partner/Partner CP.

E.g.

I have a set of partner and Contact:

Partner 1

Partner 2

Partner 3

Contact for BP1

Contact for BP2

Contact for BP3

The sorting result should be

Partner 1

Contact for BP1

Partner 2

Contact for BP2

Partner 3

Contact for BP3

The good point (maybe) is that the partner function are built to reflect the main function and the related contact function:

main function = ZAAAA

contact funtion = ZAAAAC

But of course the sort by Partner Function is not working when I have more then one Partner using the same function.

Does anybody have an idea to achieve this requirement?

Thanks

Paolo