When we do update on an estimate record using rest...
# suitetalkapi
b
When we do update on an estimate record using rest api, the taxCode field on the line items seems to be getting reset. Any idea why this could be happening? The update request payload does not have the line items data. The rest of the fields on the line items seems to be unaffected. Update request payload -
Copy code
{
  "salesRep": "3435",
  "billAddressee": "Test Addressee",
  "billState": "NY",
  "custbody_sbra_financing": false,
  "billingAddress_country": "US",
  "shippingAddress_country": "US",
  "shippingAddress_city": "New York",
  "expectedCloseDate": "2023-09-31",
  "billingAddress_addressee": "Test Addressee",
  "shippingAddress_zip": "10111",
  "billingAddress_addr1": "Test address 1",
  "shippingAddress_text": "Test address Text",
  "currency": "1",
  "billingAddress_state": "NY",
  "custbody_sbra_origin": "1",
  "shippingAddress_attention": "Test Value",
  "billingAddress_text": "Test address 1",
  "billingAddress_addrphone": "<tel:344-343-2343|344-343-2343>",
  "billZip": "10111",
  "billCity": "New York",
  "subsidiary": "23",
  "shippingAddress_addrphone": "<tel:344-343-2343|344-343-2343>",
  "billingAddress_zip": "10111",
  "shippingAddress_addressee": "Test Addressee",
  "entityStatus": "18",
  "billPhone": "<tel:344-343-2343|344-343-2343>",
  "billingAddress_city": "New York",
  "shippingAddress_state": "NY",
  "shippingAddress": {
    "zip": "10111",
    "country": "US",
    "addressee": "Test Addressee",
    "addr2": "",
    "addr1": "Test address 1",
    "city": "New York",
    "attention": "Test Value",
    "state": "NY",
    "addrphone": "<tel:344-343-2343|344-343-2343>"
  },
  "shippingAddress_addr1": "710 Steiner Street",
  "billingAddress": {
    "zip": "10111",
    "country": "US",
    "addressee": "Test Addressee",
    "addr2": "",
    "addr1": "Test address 1",
    "city": "New York",
    "attention": "Test Value",
    "state": "NY",
    "addrphone": "<tel:344-343-2343|344-343-2343>"
  },
  "billingAddress_attention": "Test Value",
  "entity": {
    "id": "34345"
  }
}
b
experiment with changing the shipping address in the ui to different addresses
preferably address which are charged different tax codes