cancel
Showing results for 
Search instead for 
Did you mean: 

PR release from outlook

Former Member
0 Kudos

Hi All,

We have recently implemented the purchase requisition release procedure including work flow setup. Now we are able to release the PR from out look. Once the PR is created work item send to out look of concern person and released from there.

But now as per our client requirement we need vendor name and purchasing group also in the email along with work item. So that before releasing approver can view the vendor name and purchasing group.


Requesting your reply,

Thanks & Regards,

Vengal

Accepted Solutions (1)

Accepted Solutions (1)

former_member227140
Active Participant
0 Kudos

check attributes of business object used ..if they contains the variable  vendor name and purchasing organization then you can simple include them in your work item /email    text.

if they are not available then you have to create attributes to this business object where in their code you have to get vendor and pur org from EBAN table for input PR Number.

which business object is used for PR and what are its attributes???

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

The good news for you is, the business object BUS2009 which is used for PR already has attributes for purchasing group and vendor name.

For vendor name use PURCHASEORDER.VENDOR

for purchasing group there is attribute PurchasingGroup.

So just include them in your workitem text and email body text using below :

<your workflow BO container name>.PURCHASEORDER.VENDOR.Name

<your workflow BO container name>.PurchasingGroup.Description

Just drill down in attributes in  BO BUS2009 and you can see many other properties for purchasing group and vendor name.

Regards,

Ibrahim Ansari

Former Member
0 Kudos

Hi Ibrahim,

Thanks for guiding me.

Currently we are using BUS2105 which is used for Header level release in which Vendor and Purchasing Group is not available.

Kindly advice how to proceed.

Regards,

Vengal Rao.

0 Kudos

Hi Vengal,

You can copy bus2105 and make it 'Z' business object. After which you can create new attribute for vendor and purchasing group. You need to write code for same. Once the business object done, you can use vendor and purchasing group attribute in your workitem description.

Former Member
0 Kudos

Hi Sailesh,

Thanks for the reply,

Please can you guide me how to proceed with the coding part for the Z object. Some hint can be helpful

to me.

Thanks in advance.

Regards,

Vengal Rao.

Former Member
0 Kudos

Hi,

you need to create copy BUS2105 and create its subtype. then create 2 virtual attributes for purchasing group and vendor name in it. Virtual attributes get filled when the BO gets instantiated in workflow. you can write code in virtual attribte for fetching vendor name and purchasing group based on key field PurchaseRequisition.Number.

regards,

Ibrahim