...
Un bon de transfert dont le statut est 'Traité' (generictype_ID_status = TREATED) ne peut plus être modifié
Le type de transfert est mis par défaut à 'Réapprovisionnement' (generictype_ID_transferType = PRODUCTSTOCK_TRANSFERTORECEIVE_TRANSFERTYPE-REPLENISHMENT) si non fourni lors d'une création
Le statut est mis par défaut à 'A traiter' (generictype_ID_status = PRODUCTSTOCK_TRANSFERTORECEIVE_STATUS-TO_BE_TREATED) si non fourni lors d'une création
...
verb: GET
resultType: simple
Bloc de code | ||
---|---|---|
| ||
"productstocktransfertoreceiveheader": { "codeproductstocktransfertoreceiveheader": "11", "transferDate": "2021-09-02 00:00:00", "generictype_ID_transferType": "REPLENISHMENT", "generictype_ID_status": "TO_BE_TREATED", "productdepot_ID_origin": "Dépôt principal", "productdepot_ID_destination": "Dépôt Christian ROUX" } |
verb: GET
resultType: extended
Bloc de code | ||
---|---|---|
| ||
"productstocktransfertoreceiveheader": { "codeproductstocktransfertoreceiveheader": "11", "transferDate": "2021-09-02 00:00:00", "generictype_ID_transferType": "REPLENISHMENT", "generictype_ID_status": "TO_BE_TREATED", "productdepot_ID_origin": "Dépôt principal", "productdepot_ID_destination": "Dépôt Christian ROUX", "totalQuantity": "10.23", "externalID": "TRF 11 I0000000 I3IF", "externalDocumentNumber": "TRF 11", "carrier": "HEPPNER", "trackingID": "123456789-abcd-0000000001" } |
verb: GET
resultType: extendedRelated
en complément du résultat pour resultType: extended on aura le détail pour les tables generictype_transferType, generictype_status, productdepot_origin et productdepot_destination
...
Bloc de code | ||
---|---|---|
| ||
"filters:" { "codeProductStockTransferToReceiveHeader": "value", filter is equal "transferDate": "value", filter is greater or equal to "transferDateBetween": "value1|value2", filter is between value1 and value2 "codeTransferType": "value", filter is equal "codeStatus": "value", filter is equal "codeProductDepotOrigin": "value", filter is equal "codeProductDepotDestination": "value" filter is equal }, "orderBy": "value" |
Valeur Valeurs possibles pour le tri "orderBy" :
...