commit
2c7ac5daf9
@ -345,10 +345,10 @@ class Mos extends DolibarrApi
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (empty($labelmovement)) {
|
if (empty($labelmovement)) {
|
||||||
throw new RestException(500, "Field inventorylabel not prodivded");
|
throw new RestException(500, "Field inventorylabel not provided");
|
||||||
}
|
}
|
||||||
if (empty($codemovement)) {
|
if (empty($codemovement)) {
|
||||||
throw new RestException(500, "Field inventorycode not prodivded");
|
throw new RestException(500, "Field inventorycode not provided");
|
||||||
}
|
}
|
||||||
|
|
||||||
// Code for consume and produce...
|
// Code for consume and produce...
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user