https://netsuiteprofessionals.com logo
#suitetalkapi
Title
# suitetalkapi
s

santhosh kumar

04/21/2022, 12:03 PM
Hello all..I am updating vendor bill sublist via soap web services , but the link between vendor bill and PO missing .Pls give solution for this issue.
b

battk

04/21/2022, 12:22 PM
what does your request body look like
s

santhosh kumar

04/21/2022, 12:34 PM
<soapenv:Body> <update xsi:type='platformMsgs:UpdateRequest'> <record xsi:type='tranPurch:VendorBill' internalId='50328'> <itemList replaceAll="false" xsi:type='tranPurch:VendorBillItemList'> <item xsi:type='tranPurch:VendorBillItem'> <item xsi:type='platformCore:RecordRef' internalId='9772'/> <quantity xsi:type='xsd:double'>2</quantity> <rate xsi:type='xsd:string'>3</rate> <department xsi:type='platformCore:RecordRef' internalId='10'/> </item> </itemList> </record> </update> </soapenv:Body>
The above one is working but instead of replacing , it is adding the line
b
keep in mind that changing the item will unlink regardless of you getting the key correct