do we simply insert using AssemblyBuild and set `c...
# suitetalkapi
d
do we simply insert using AssemblyBuild and set
createdFrom
to the WO?
b
We're using work order completions w/ advanced manufacturing and BOM/revisions. Sample SOAP here:
Copy code
<soapenv:Envelope xmlns:xsd="<http://www.w3.org/2001/XMLSchema>" xmlns:soapenv="<http://schemas.xmlsoap.org/soap/envelope/>" xmlns:xsi="<http://www.w3.org/2001/XMLSchema-instance>">
    <soapenv:Header>
        <platformMsg:preferences soapenv:mustUnderstand="0" soapenv:actor="<http://schemas.xmlsoap.org/soap/actor/next>" xmlns:platformMsg="urn:<http://messages_2019_1.platform.webservices.netsuite.com|messages_2019_1.platform.webservices.netsuite.com>">
            <platformMsg:useConditionalDefaultsOnAdd>true</platformMsg:useConditionalDefaultsOnAdd>
            <platformMsg:ignoreReadOnlyFields>true</platformMsg:ignoreReadOnlyFields>
            <platformMsg:warningAsError>false</platformMsg:warningAsError>
        </platformMsg:preferences>
        <ns2:tokenPassport soapenv:mustUnderstand="0" soapenv:actor="<http://schemas.xmlsoap.org/soap/actor/next>" xmlns:ns2="urn:<http://messages_2019_1.platform.webservices.netsuite.com|messages_2019_1.platform.webservices.netsuite.com>">
            <ns1:account xmlns:ns1="urn:core_2019_1.platform.webservices.netsuite.com">359589_SB1</ns1:account>
            <ns3:consumerKey xmlns:ns3="urn:core_2019_1.platform.webservices.netsuite.com">****************************************************************</ns3:consumerKey>
            <ns4:token xmlns:ns4="urn:core_2019_1.platform.webservices.netsuite.com">****************************************************************</ns4:token>
            <ns5:nonce xmlns:ns5="urn:core_2019_1.platform.webservices.netsuite.com">45oHzZMNkwqg16Zj3juU</ns5:nonce>
            <ns6:timestamp xmlns:ns6="urn:core_2019_1.platform.webservices.netsuite.com">1604340909</ns6:timestamp>
            <ns7:signature algorithm="HMAC_SHA256" xmlns:ns7="urn:core_2019_1.platform.webservices.netsuite.com">********************************************</ns7:signature>
        </ns2:tokenPassport>
    </soapenv:Header>
    <soapenv:Body>
        <platformMsg:addList xmlns:platformMsg="urn:messages_2019_1.platform.webservices.netsuite.com">
            <platformMsg:record xsi:type="ns1:WorkOrderCompletion" xmlns:ns1="urn:inventory_2019_1.transactions.webservices.netsuite.com" xmlns:ns2="urn:core_2019_1.platform.webservices.netsuite.com" xmlns:ns3="urn:common_2019_1.platform.webservices.netsuite.com">
                <ns1:isBackflush>true</ns1:isBackflush>
                <ns1:createdFrom xsi:type="platformCore:RecordRef" internalId="8496650"/>
                <ns1:department xsi:type="platformCore:RecordRef" internalId="19"/>
                <ns1:startOperation xsi:type="platformCore:RecordRef" internalId="1143"/>
                <ns1:endOperation xsi:type="platformCore:RecordRef" internalId="1147"/>
                <ns1:completedQuantity>20.00000</ns1:completedQuantity>
            </platformMsg:record>
            <platformMsg:record xsi:type="ns1:WorkOrderCompletion" xmlns:ns1="urn:inventory_2019_1.transactions.webservices.netsuite.com" xmlns:ns2="urn:core_2019_1.platform.webservices.netsuite.com" xmlns:ns3="urn:common_2019_1.platform.webservices.netsuite.com">
                <ns1:isBackflush>true</ns1:isBackflush>
                <ns1:createdFrom xsi:type="platformCore:RecordRef" internalId="8496650"/>
                <ns1:department xsi:type="platformCore:RecordRef" internalId="19"/>
                <ns1:startOperation xsi:type="platformCore:RecordRef" internalId="1143"/>
                <ns1:endOperation xsi:type="platformCore:RecordRef" internalId="1147"/>
                <ns1:completedQuantity>20.00000</ns1:completedQuantity>
            </platformMsg:record>
        </platformMsg:addList>
    </soapenv:Body>
</soapenv:Envelope>
Maybe something similar can be used for an assembly build.