Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Attribute

Type

Description

local_id

int|null

  • SIMA sends to ERP.

  • SIMA receives from Third Party. Is SIMA unique identification for work orders campaigns.

(Only one of local_id, local_code, external_id, external_code is used)

local_code

string|null

  • SIMA sends to ERP.

  • Not used in Third Party integrations.

(Only one of local_id, local_code, external_id, external_code is used)

external_id

int|null

  • SIMA receives from ERP.

  • Not used in Third Party integrations.

(Only one of local_id, local_code, external_id, external_code is used)

external_code

string|null

  • SIMA receives from ERP.

  • Not used in Third Party integrations.

(Only one of local_id, local_code, external_id, external_code is used)

cultivation

object

  • Object used to indicate the crop.

  • In Third Party integrations you must fill local_id with SIMA campaign_id.

(Only one of local_id, local_code, external_id, external_code is used)

date

datetime

  • Is the work order date.

  • ISO-8601 format, Ex: "2019-10-13T11:29:20-03:00".

area_applied

float

  • Area applied

state

object

  • Object used to define the status of the work order.

  • Only one of pending, executed, confirmed can be true. The others mus be false.

(Only one of local_id, local_code, external_id, external_code is used)

date_applied

datetime

  • Is the labour applied date.

  • ISO-8601 format, Ex: "2019-10-13T11:29:20-03:00".

applicators

array of objects

  • Not used in SIMA integrations

machines

array of objects

total_applied

float
  • The ERPs uses external_code or external_id.

  • The Third Party integrations use local_id that must fill with SIMA machine_id.

(Only one of local_id, local_code, external_id, external_code is used)

contractors

array of objects

  • The ERPs uses external_code or external_id.

  • The Third Party integrations use local_id that must fill with SIMA applicator_id.

(Only one of local_id, local_code, external_id, external_code is used)

service

object

  • Object used to specify the service.

  • The ERPs uses external_code or external_id.

  • The Third Party integrations use local_id that must fill with SIMA (In definition).

(Only one of local_id, local_code, external_id, external_code is used)

extra_fields

object

  • Object used to define other attributes necessary for integration between systems.

  • The object voucher_type is used to specify the work order type. In Third Party integrations local_id must match with one of the SIMA work orders type.

(Only one of local_id, local_code, external_id, external_code is used)