Netsuite 无法将联系人附加到客户

Netsuite 无法将联系人附加到客户,netsuite,Netsuite,我正在尝试添加一些联系人并将其附加到现有客户。我正在发送我认为正确的信息,我没有收到任何错误,联系人正在创建中,但他们没有连接到客户。你能帮我找到问题吗 以下是添加联系人的请求: <soap:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchem

我正在尝试添加一些联系人并将其附加到现有客户。我正在发送我认为正确的信息,我没有收到任何错误,联系人正在创建中,但他们没有连接到客户。你能帮我找到问题吗

以下是添加联系人的请求:

<soap:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <soap:Header>
        <passport xmlns="urn:messages_2014_2.platform.webservices.netsuite.com">
            <email xmlns="urn:core_2014_2.platform.webservices.netsuite.com">*****</email>
            <password xmlns="urn:core_2014_2.platform.webservices.netsuite.com">********************</password>
            <account xmlns="urn:core_2014_2.platform.webservices.netsuite.com">*****</account>
            <role internalId="3" xmlns="urn:core_2014_2.platform.webservices.netsuite.com"/>
        </passport>
    </soap:Header>
    <soap:Body>
        <upsertList xmlns="urn:messages_2014_2.platform.webservices.netsuite.com">
            <record externalId="20582-1" xsi:type="q1:Contact" xmlns:q1="urn:relationships_2014_2.lists.webservices.netsuite.com">
                <q1:firstName>Sam</q1:firstName>
                <q1:title>Accounts / Oxford</q1:title>
                <q1:phone>01865 787221</q1:phone>
                <q1:subsidiary internalId="1"/>
            </record>
            <record externalId="20582-2" xsi:type="q2:Contact" xmlns:q2="urn:relationships_2014_2.lists.webservices.netsuite.com">
                <q2:firstName>Ann Ohalan</q2:firstName>
                <q2:title>Scotland contact = PO- 8109983</q2:title>
                <q2:phone>0141 8109550</q2:phone>
                <q2:subsidiary internalId="1"/>
            </record>
            <record externalId="20582-3" xsi:type="q3:Contact" xmlns:q3="urn:relationships_2014_2.lists.webservices.netsuite.com">
                <q3:firstName>Zoe Andrews</q3:firstName>
                <q3:title/>
                <q3:phone>01865 719671</q3:phone>
                <q3:subsidiary internalId="1"/>
            </record>
            <record externalId="20582-4" xsi:type="q4:Contact" xmlns:q4="urn:relationships_2014_2.lists.webservices.netsuite.com">
                <q4:firstName>Jane Williams</q4:firstName>
                <q4:title>Northampton contact=PO</q4:title>
                <q4:phone>01604 235733</q4:phone>
                <q4:subsidiary internalId="1"/>
            </record>
            <record externalId="20582-5" xsi:type="q5:Contact" xmlns:q5="urn:relationships_2014_2.lists.webservices.netsuite.com">
                <q5:firstName>Ann Direct Dail</q5:firstName>
                <q5:title/>
                <q5:phone>0141 8109983</q5:phone>
                <q5:subsidiary internalId="1"/>
            </record>
        </upsertList>
    </soap:Body>
</soap:Envelope>
以下是将联系人附加到客户的请求:

<soap:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <soap:Header>
        <passport xmlns="urn:messages_2014_2.platform.webservices.netsuite.com">
            <email xmlns="urn:core_2014_2.platform.webservices.netsuite.com">******</email>
            <password xmlns="urn:core_2014_2.platform.webservices.netsuite.com">********************</password>
            <account xmlns="urn:core_2014_2.platform.webservices.netsuite.com">*****</account>
            <role internalId="3" xmlns="urn:core_2014_2.platform.webservices.netsuite.com"/>
        </passport>
    </soap:Header>
    <soap:Body>
        <update xmlns="urn:messages_2014_2.platform.webservices.netsuite.com">
            <record internalId="21469" xsi:type="q1:Customer" xmlns:q1="urn:relationships_2014_2.lists.webservices.netsuite.com">
                <q1:contactRolesList>
                    <q1:contactRoles>
                        <q1:contact type="contact" externalId="20582-1"/>
                        <q1:role internalId="-10"/>
                    </q1:contactRoles>
                    <q1:contactRoles>
                        <q1:contact type="contact" externalId="20582-2"/>
                        <q1:role internalId="-20"/>
                    </q1:contactRoles>
                    <q1:contactRoles>
                        <q1:contact type="contact" externalId="20582-3"/>
                        <q1:role internalId="-20"/>
                    </q1:contactRoles>
                    <q1:contactRoles>
                        <q1:contact type="contact" externalId="20582-4"/>
                        <q1:role internalId="-20"/>
                    </q1:contactRoles>
                    <q1:contactRoles>
                        <q1:contact type="contact" externalId="20582-5"/>
                        <q1:role internalId="-20"/>
                    </q1:contactRoles>
                </q1:contactRolesList>
            </record>
        </update>
    </soap:Body>
</soap:Envelope>
以下是对后一个请求的响应:

<soapenv:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <soapenv:Header>
        <platformMsgs:documentInfo xmlns:platformMsgs="urn:messages_2014_2.platform.webservices.netsuite.com">
            <platformMsgs:nsId>WEBSERVICES_3640472_1130201432731294637026381_400c6ccd4d3d75</platformMsgs:nsId>
        </platformMsgs:documentInfo>
    </soapenv:Header>
    <soapenv:Body>
        <updateResponse xmlns="urn:messages_2014_2.platform.webservices.netsuite.com">
            <writeResponse>
                <platformCore:status isSuccess="true" xmlns:platformCore="urn:core_2014_2.platform.webservices.netsuite.com"/>
                <baseRef xsi:type="platformCore:RecordRef" type="customer" internalId="21469" xmlns:platformCore="urn:core_2014_2.platform.webservices.netsuite.com"/>
            </writeResponse>
        </updateResponse>
    </soapenv:Body>
</soapenv:Envelope>
客户的联系人列表仍为空:

我可以从列表中选择联系人并成功手动附加

联系人显示在全球联系人列表中,没有客户:


另外,我该如何搜索SuiteAnswers或API参考来找到自己的方法?

不,我对SuiteTalk非常熟悉,但在添加联系人时,您不能填充公司字段吗?我相信,如果您在创建联系人时指定一家公司,它将被添加到客户的联系人子列表中。

显而易见。非常感谢。顺便说一句,您的回答比官方NetSuite论坛上的任何人都早。