-
Notifications
You must be signed in to change notification settings - Fork 67
Email Address for Windows::Model::Employee #96
Comments
The error implies that your email.tag isn't set to either "Home" or "Business". |
Weird, because your XML looks "OK" - from what you have below it generates this XML: Person Bugs Bunny 123 Main St. San Francisco USA CA 94117 Billing [email protected] Business Bugs BunnyAnd your Email#Tag is correct with "Business". On Aug 30, 2013, at 2:19 PM, Fabio Elia [email protected] wrote:
|
I realize the error text has "Email" in it, but according to the docs: A |
Yeah the docs say that a phone, email, and address are required but I create mine without any of them and they work fine. The code lines @fabioelia posted are from the spec file. That's why I figured based on the error message that his code may have been specifying a different email.tag. |
Thanks for the guidance! @DexterTheDragon @ruckus windows employee pull request Output of xml: <Employee>
<TypeOf>Person</TypeOf>
<Name>Test</Name>
<Address>
<Line1>123 Test Ave</Line1>
<City>Test City</City>
<Country>United States</Country>
<CountrySubDivisionCode>Massachusetts</CountrySubDivisionCode>
<PostalCode>12345</PostalCode>
<Tag>Billing</Tag>
</Address>
<Phone>
<DeviceType>Mobile</DeviceType>
<FreeFormNumber>555-333-2222</FreeFormNumber>
<Tag>Mobile</Tag>
</Phone>
<Email>
<Address>[email protected]</Address>
<Tag>Business</Tag>
</Email>
<GivenName>test</GivenName>
<FamilyName>test</FamilyName>
</Employee> |
Using The following example of code does not work. Complains about null being entered on the Quickbooks Database for the email.
IntuitRequestException (cannot insert NULL into ("ESB"."EMAIL_API"."LABEL_NAME_MAP")):
Have has since ignored using email, and continued along
The text was updated successfully, but these errors were encountered: