Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8581

Re: How to get a employee's Organization ID in C4C?

$
0
0

Hi ,

 

You can use QueryByElement and go to the Node'

SalesAndServiceBusinessArea" for Org ID details for Quote.


For Employee Org ID you can get the employee from Quote QueryByElement. After this use employee business object and pass that employeeID into QueryByIdentification and use below code

 

import ABSL;

import AP.FO.MOM.Global;

var query = FunctionalUnit.QueryByIdentification;

var resultData = query.ExecuteDataOnly();

// 2. Selection

var selectionParams = query.CreateSelectionParams();

selectionParams.Add(query.InternalID, "I", "EQ", YourEmployeeID);

// Result

resultData = query.ExecuteDataOnly(selectionParams);


Hope this helps.


Regards,

Mithun.




Viewing all articles
Browse latest Browse all 8581

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>