cancel
Showing results for 
Search instead for 
Did you mean: 

get business partner in CIC0 before saving

Former Member
0 Kudos

Hi!

How can I get the Business Partner Number in CIC0 before saving the newly created transaction in CRM?

I've tried using CRM_ORDERADM_H_READ_OW but I'm not getting the object_id.

Accepted Solutions (1)

Accepted Solutions (1)

BGarcia
Active Contributor
0 Kudos

Hi Stephanie,

The object_id in function CRM_ORDERADM_H_READ_OW will tell you the business transaction number. Since it is newly created and not saved yet, it doesn't have the number filled/determined yet.

For the partner information, check function CRM_PARTNER_READ_OW. Just fill it with the business transaction guid and the reference kind (A = Header level, B = Item level).

Kind regards and good luck

Bruno

Former Member
0 Kudos

Thank you for your help. CRM_PARTNER_READ_OW worked!

Answers (1)

Answers (1)

Former Member
0 Kudos

hi

you can also use CRM_ORDER_READ, just pass to it document's header guid.

regards

Radek