Discussões
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Keep an eye out for upcoming NetSuite events, including meetups, workshops, and webinars. These sessions are a great way to connect with peers, learn from experts, and stay current on the latest NetSuite updates and best practices. Registration links are provided in each event.
Atualizar Quantidade do Item do estoque via Serviço da web do SOAP
Aplica-se a
Produto: NetSuite 2023.1
Cenário
O usuário quer ajustar a Quantidade de um Item de estoque via Serviços da web SOAP.
Solução
Aqui está um exemplo de pedido XML (xml request) que ajustará o valor do registro da Quantidade disponível de um Item de estoque.
<soapenv:Body> <add xsi:type='platformMsgs:AddRequest'> <record xsi:type='tranInvt:InventoryAdjustment'> <account xsi:type='platformCore:RecordRef' internalId='131' type='account'/> <customer xsi:type='platformCore:RecordRef' internalId='107' type='customer'/> <adjLocation xsi:type='platformCore:RecordRef' internalId='2' type='location'/> <inventoryList xsi:type='tranInvt:InventoryAdjustmentInventoryList'> <inventory xsi:type='tranInvt:InventoryAdjustmentInventory'> <item xsi:type='platformCore:RecordRef' internalId='5' type='inventoryItem'/> <location xsi:type='platformCore:RecordRef' internalId='2' type='location'/> <adjustQtyBy xsi:type='xsd:double'>10</adjustQtyBy> </inventory> </inventoryList> </record> </add> </soapenv:Body> <soapenv:Body> <add xsi:type='platformMsgs:AddRequest'>
Rotulado:
0
Olá, bem-vind@!
Faça login
Para ver todos os detalhes, faça o login.
Cadastre-se
Não tem uma conta? Clique aqui para começar!