Using IBO to modify VAT registration number

I can't seem to locate a VAT Reg Number property anywhere in the IBO's. Specifically I looked on CContact and its base class.

I then looked to see if there is a way within the IBO's to access the values from the Name_Fin table in a similar fashion to using GetExtTableByName, but this didn't work for me (I'm pretty sure this is because the table is not a user defined table).

How can I modify this property using the IBO's?

Thanks

Christian

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

You can get the VAT Reg

You can get the VAT Reg number from CContact object

Something like

 var contact = new CContact(user,contactId);
 var vatReg =   contact.FinancialProfile.VatRegNumber

 

 

 

Hi Balaji, Thanks for

Hi Balaji,

Thanks for getting back to me. Shame it wasn't a week or two ago as I coded a workaround. Never mind, I'm sure the workaround will help out in some other place in the code whenever I need to reach a table that is not accessible within IBO.

Ta

Christian