Hello Team,
I have a question about the payment creation date.
I pushed a payment to NetSuite. Here the example of the request:
-<soapenv:Body>
-<add xmlns="urn:messages_2020_1.platform.webservices.netsuite.com">
-<record xmlns:ns8="urn:customers_2020_1.transactions.webservices.netsuite.com" externalId=".........-45081-49748-f62cbb293a4bea9f" xsi:type="ns8:CustomerPayment">
<ns8:customer type="customer" xsi:type="ns9:RecordRef" xmlns:ns9="urn:core_2020_1.platform.webservices.netsuite.com" internalId="1650"/>
<ns8:currency type="currency" xsi:type="ns10:RecordRef" internalId="3" xmlns:ns10="urn:core_2020_1.platform.webservices.netsuite.com"/>
<ns8:payment xsi:type="xsd:double">5.0</ns8:payment>
<ns8:tranDate xsi:type="xsd:dateTime">2021-09-20T17:40:30.000Z</ns8:tranDate>
<ns8:paymentMethod type="paymentMethod" xsi:type="ns11:RecordRef" internalId="14" xmlns:ns11="urn:core_2020_1.platform.webservices.netsuite.com"/>
As you see, I used the following date and time: <ns8:tranDate xsi:type="xsd:dateTime">2021-09-20T17:40:30.000Z</ns8:tranDate>
--------------------------------------------------------
But, when I sent a request to receive a payment, NetSuite returned the following date:
<tranCust:tranDate>2021-09-20T00:00:00.000-07:00</tranCust:tranDate>
Example of the response:
-<platformCore:record xmlns:tranCust="urn:customers_2020_1.transactions.webservices.netsuite.com" internalId="41935" xsi:type="tranCust:CustomerPayment" externalId="........-45081-49748-f62cbb293a4bea9f"><tranCust:createdDate>2021-09-20T07:41:35.000-07:00</tranCust:createdDate><tranCust:lastModifiedDate>2021-09-20T07:41:35.000-07:00</tranCust:lastModifiedDate>-<tranCust:customer internalId="1650"><platformCore:name>CustomerCad</platformCore:name></tranCust:customer><tranCust:balance>3196.94</tranCust:balance><tranCust:pending>0.0</tranCust:pending>-<tranCust:currency internalId="3"><platformCore:name>Canadian dollar</platformCore:name></tranCust:currency><tranCust:payment>5.0</tranCust:payment><tranCust:tranDate>2021-09-20T00:00:00.000-07:00</tranCust:tranDate><tranCust:tranId>PAY00001319</tranCust:tranId>-<tranCust:paymentMethod internalId="14"><platformCore:name>Payment Card</platformCore:name></tranCust:paymentMethod><tranCust:memo>...........-45081-49748-f62cbb293a4bea9f</tranCust:memo>
Why is the a time difference?