Centum v2 icon

Centum v2

Consumes Centum API

Actions76

Ajustes Movimientos Stock → Create

AI-generated

Summary

Create a stock adjustment for an article in Centum, using the supplied quantity and adjustment date. You can optionally choose an article location, branch section, physical branch, adjustment concept, and whether to first set the article's stock to zero.

Inputs

  • FechaImputacion (indictmentDate) (required) — Date to apply to the adjustment.
  • Cantidad (stockAdjustmentQuantity) (required) — Quantity by which to adjust the article's stock.
  • Articulo.IdArticulo (articleId) — Article ID. The field is exposed for this operation; the provided source view does not show its runtime handling.
  • BAjustePrevioACero (adjustToZeroFirst) — Defaults to false. When true, first creates adjustments to bring the article's stock to zero; otherwise adjusts by the supplied quantity.
  • ConceptoVarios.IdConceptoVarios (conceptoVariosId) — Adjustment concept ID; defaults to 1.
  • UbicacionArticulo.IdUbicacionArticulo (articleLocationId) — Article location ID; defaults to 0. The UI description says the default location is used if no location is sent.
  • SeccionSucursal.IdSeccionSucursal (branchSectionId) — Branch section ID; defaults to 0.
  • SucursalFisica.IdSucursalFisica (physicalBranchId) — Physical branch ID; defaults to an empty string.
  • FechaDocumentoDesde (startDate) — Date field declared for this operation; its runtime role is not shown in the provided source view.
  • Debug Options (debugSettings) — Optional debug logging settings: enable logging, filter requests by URL substring, and include the request body in debug logs.

Output shape

A single operation result; exact response fields are not shown in the provided source view.

The source pack identifies a createStockMovement handler for this resource, but omits its implementation body, so the API response shape and exact handling of some exposed fields cannot be confirmed.

Links

Discussion