fsandi
07/08/2020, 2:31 PM<soap:Body>
<ns0:add>
<ns0:record ns2:type="ns1:CustomerPayment">
<ns1:customer externalId="GP-UTZ_TE1000001330"></ns1:customer>
<ns1:payment>1000</ns1:payment>
<ns1:department internalId="35"></ns1:department>
<ns1:location internalId="308"></ns1:location>
<ns1:autoApply>false</ns1:autoApply>
<ns1:applyList >
<ns1:apply line="1" apply="false"/>
<ns1:apply line="2" apply="true"/>
<ns1:apply line="3" apply="false"/>
<ns1:apply line="4" apply="false"/>
</ns1:applyList>
</ns0:record>
</ns0:add>
</soap:Body>
This throws an error
<platformCore:code>USER_ERROR</platformCore:code>
<platformCore:message>Adding new line to sublist apply is not allowed.</platformCore:message>
However, the same code, without the applyList tag works fine,
<soap:Body>
<ns0:add>
<ns0:record ns2:type="ns1:CustomerPayment">
<ns1:customer externalId="GP-UTZ_TE1000001330"></ns1:customer>
<ns1:payment>1000</ns1:payment>
<ns1:department internalId="35"></ns1:department>
<ns1:location internalId="308"></ns1:location>
<ns1:autoApply>true</ns1:autoApply>
</ns0:record>
</ns0:add>
</soap:Body>
How can i manually specify which invoice or line number i want to apply? I am using 2020_1 web services