cancel
Showing results for 
Search instead for 
Did you mean: 

How to get Latest Status of Bid invitation

former_member459142
Participant
0 Kudos

Hi Experts,

I am new in SRM.

I need some class method or Fuction Module , which can give latest status of Bid invitation no.

Thanks & Regards

Prashant Gupta

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

There is no standard class method or FM for that purpose. I'd suggest that you create your own FM for this. It is not too complicated to put in the logic to determine the lead status from the status table.

former_member459142
Participant
0 Kudos

Thanks Jay for replying

Can you Please tel me the logic how can i get latest status so that i can make a FM.

Thanks & Regards

Prashant Gupta

Former Member
0 Kudos

I'd give you some algorithms which I'd use to go about it:

1. use bbp_pd_bid_getdetail to get the status table for your bid invitation

2. loop through the status table and catch the leading status with the following priority (not necessarily a complete list)

- deleted (transaction completed)

- published

- awaiting approval

- held

former_member459142
Participant
0 Kudos

Hi Jay,

so according to u

- deleted (transaction completed)

is the latest Status?

Former Member
0 Kudos

No. By "priority", I meant if the status mentioned is in the table, that would be the leading status. So based on the priority list I gave you, if the "deleted" status is in the list of statuses returned to you from the getdetail FM, the Bid Invitation would be in "deleted" status. If not, then check for "published" status. So on and so forth.