I'm getting this exception error when creating a sales invoice using eConnect, but I'm including the following in my code:
salesLine.Print_Phone_NumberGB = 0;
So I'm indeed specifying this value, any thoughts? Thanks in advance.
I can locate this field at programmers reference guide.
How ever the e Connect objects list them as not member of any of these class.
Having said that, the class also requires to set the Print_Phone_NumberGBSpecified to true if the Print_Phone_NumberGB is populated. Are you setting the value to true ? It is possible that if it is not set, even though you are sending the phone number it is getting ignored. You will need add one more line to your code
salesline.Print_Phone_NumberGBSpecified = True
PS : Is your GP a British instance ?
Sanjay Kumar Rajarao. ACA, MCPhttp://www.sanjaykumar.us | email@example.com
I'm logging in into the Fabrikam test company (US Company)
Why do you want to set that value any way it is defaulted by e Connect any ways.
I was able to send the transaction successfully - to US Fabricam company. Shall blog post the full code.
eConnect - SOP - Invoice Example
If I don't include it I get the above error
Did you included this line also ?
Please follow this case also:
Other Microsoft Sites
I'm a Customer
I'm a Partner
Follow Microsoft Dynamics