Sankhya icon

Sankhya

Integração completa com o ERP Sankhya — REST v1/v2 e Gateway

Actions137

Movimentos / CACSP (Gateway) → Incluir / Alterar Item da Nota

AI-generated

Summary

Include or update an item in a note (nota) via the CACSP Gateway service in Sankhya ERP.

Inputs

  • Dados (JSON) (required) — JSON object containing the item data for the operation. For this operation, the expected fields are nroUnico (unique number of the note), codProd (product code), qtdNeg (quantity), and vlrUnit (unit value).

Output shape

a JSON object representing the gateway service response indicating success or error details.

This operation communicates with the CACSP.incluirAlterarItemNota service via the Sankhya Gateway. The input must include required fields (nroUnico, codProd, qtdNeg, vlrUnit) in the movDados JSON object. The output can include success confirmation or may return SankhyaBusinessError or SankhyaTechnicalError objects in case of business rule or technical errors respectively.

Examples

Example 1: Add or update an item in a note with specified product code, quantity, and unit price.

Set resource to 'Movimentos / CACSP (Gateway)', operation to 'Incluir / Alterar Item da Nota', and provide a JSON in 'Dados (JSON)' with keys nroUnico, codProd, qtdNeg, vlrUnit.

Links

Discussion