Gregor Pollak
07/15/2022, 5:26 AMYou have entered an Invalid Field Value -Infinity.00 for the following field: amountThe amount is being set for a Discount for Sale Item when trying to import a SalesOrder.
<ns1:item>
<ns1:item type="discountItem" internalId="207963"/>
<ns1:description>Reward Points Amount</ns1:description>
<ns1:price internalId="-1"/>
<ns1:amount>-2.22</ns1:amount>
<ns1:isTaxable>false</ns1:isTaxable>
</ns1:item>
The weird part - SalesOrder is created:
<writeResponse>
<platformCore:status isSuccess="false" xmlns:platformCore="urn:core_2020_1.platform.webservices.netsuite.com">
<platformCore:statusDetail type="ERROR">
<platformCore:code>INVALID_FLD_VALUE</platformCore:code>
<platformCore:message>You have entered an Invalid Field Value -Infinity.00 for the following field: amount</platformCore:message>
<platformCore:afterSubmitFailed>true</platformCore:afterSubmitFailed>
</platformCore:statusDetail>
</platformCore:status>
<baseRef xsi:type="platformCore:RecordRef" type="salesOrder" externalId="xxx" internalId="xxx" xmlns:platformCore="urn:core_2020_1.platform.webservices.netsuite.com"/>
</writeResponse>
and I see that it says “afterSubmitFailed” but I have no idea how to figure out which one …battk
07/15/2022, 5:37 AMbattk
07/15/2022, 5:38 AMbattk
07/15/2022, 5:38 AMGregor Pollak
07/15/2022, 5:40 AMGregor Pollak
07/15/2022, 6:11 AMGregor Pollak
07/15/2022, 6:11 AMbattk
07/15/2022, 7:09 AMbattk
07/15/2022, 7:09 AMbattk
07/15/2022, 7:09 AMbattk
07/15/2022, 7:11 AM