En la versión 17 al rescatar un contrato los campos date_start y date_end han desaparecido.
[
{
"ref_customer": null,
"ref_supplier": null,
"entity": "1",
"socid": "24",
"societe": null,
"statut": "1",
"product": null,
"fk_user_author": null,
"user_author_id": "13",
"user_creation": null,
"user_cloture": null,
"date_creation": 1680703120,
"date_modification": null,
"date_validation": null,
"date_contrat": 1680703120,
"commercial_signature_id": "1",
"commercial_suivi_id": "1",
"extraparams": null,
"lines": [
{
"id": "667",
"ref": "S-3P1",
"tms": null,
"fk_contrat": "370",
"fk_product": "90",
"statut": "4",
"type": "1",
"label": null,
"libelle": null,
"description": "",
"product_type": "1",
"product_ref": "XXX",
"product_label": "xxxxxxxxx",
"date_commande": null,
"tva_tx": "21.000",
"vat_src_code": null,
"localtax1_tx": "0.000",
"localtax2_tx": "0.000",
"localtax1_type": "",
"localtax2_type": "",
"qty": "1",
"remise_percent": "20",
"remise": null,
"fk_remise_except": null,
"subprice": "30.00000000",
"price": "24",
"price_ht": "24",
"total_ht": "24.00000000",
"total_tva": "5.04000000",
"total_localtax1": "0.00000000",
"total_localtax2": "0.00000000",
"total_ttc": "29.04000000",
"fk_fournprice": null,
"pa_ht": "0.00000000",
"info_bits": "0",
"fk_user_author": "0",
"fk_user_ouverture": "13",
"fk_user_cloture": null,
"commentaire": null,
"rang": "1",
"rowid": null,
"fk_unit": null,
"date_debut_prevue": null,
"date_debut_reel": null,
"date_fin_prevue": null,
"date_fin_reel": null,
"weight": null,
"weight_units": null,
"width": null,
"width_units": null,
"height": null,
"height_units": null,
"length": null,
"length_units": null,
"surface": null,
"surface_units": null,
"volume": null,
"volume_units": null,
"multilangs": null,
"desc": "",
"product": null,
"product_barcode": null,
"product_desc": "",
"fk_product_type": null,
"duree": null,
"special_code": null,
"entity": null,
"import_key": null,
"array_options": [],
"array_languages": null,
"contacts_ids": null,
"linked_objects": null,
"linkedObjectsIds": null,
"canvas": null,
"origin": null,
"origin_id": null,
"ref_ext": null,
"status": null,
"state_id": null,
"region_id": null,
"barcode_type": null,
"barcode_type_coder": null,
"demand_reason_id": null,
"transport_mode_id": null,
"last_main_doc": null,
"fk_bank": null,
"fk_account": null,
"lines": null,
"date_creation": null,
"date_validation": null,
"date_modification": null,
"date_cloture": null,
"user_author": null,
"user_creation": null,
"user_creation_id": null,
"user_valid": null,
"user_validation": null,
"user_validation_id": null,
"user_closing_id": null,
"user_modification": null,
"user_modification_id": null,
"specimen": 0
}
],
"nbofservices": 1,
"nbofserviceswait": 0,
"nbofservicesopened": 1,
"nbofservicesexpired": 0,
"id": "370",
"import_key": null,
"array_options": [],
"array_languages": null,
"contacts_ids": null,
"linked_objects": null,
"linkedObjectsIds": null,
"canvas": null,
"fk_project": null,
"contact_id": null,
"user": null,
"origin": null,
"origin_id": null,
"ref": "CT2304-0297",
"ref_ext": null,
"status": null,
"country_id": null,
"country_code": null,
"state_id": null,
"region_id": null,
"barcode_type": null,
"barcode_type_coder": null,
"mode_reglement_id": null,
"cond_reglement_id": null,
"demand_reason_id": null,
"transport_mode_id": null,
"shipping_method_id": null,
"model_pdf": null,
"last_main_doc": null,
"fk_bank": null,
"fk_account": null,
"note_public": "hola v1",
"note_private": null,
"total_ht": "24",
"total_tva": "5.04",
"total_localtax1": null,
"total_localtax2": null,
"total_ttc": "29.04",
"name": null,
"lastname": null,
"firstname": null,
"date_cloture": null,
"user_author": null,
"user_creation_id": null,
"user_valid": null,
"user_validation": null,
"user_validation_id": null,
"user_closing_id": null,
"user_modification": null,
"user_modification_id": null,
"specimen": 0,
"fk_soc": "24",
"nbofservicesclosed": 0
}
]