cancel
Showing results for 
Search instead for 
Did you mean: 

How to find Company ID by using Invoicing Unit ID

Former Member
0 Kudos

Dear Experts,

I have Invoicing unit id in my customize BO, how can i find Company ID in standard bo?

Example,

InvoicingUnitID = DSS01

My company id = DSS

how can i get it, i cannot use Substring "DSS" to find because some id is not the same prefix.

Best Regards,

Aon

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hello,

May be you can use the following code to get the requied result:

var res= this.InvoiceID.Substring(0,3);

HorstSchaude
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Thanarat,

What shall your "InvoiceUnitID" represent?

Bye,

  Horst