actindo ->rma__set_conditions
actindo -> rma__set_conditions: Set conditions of return positions
Signaturstring rma__set_conditions( string $sid, int $bill_id, string $data )
 
Parameter
  • string $sid
    Session identier you got from auth__login or auth__token_login
     
  • int $bill_id
    bill ID
     
  • string $data
    data array
     
Returnsstring
array
 
DescriptionSet conditions of return positions

structure of array $data:
[
{
"pos_prod_idx": int, (running index of articles in a position),
"pos_id": int, (position ID)
"retour_zustand": int, (retour condition ID)
"lager_select": string, (Lager ID to store the article)
},
{ ... },
...
]

structure of return value array:
{
"ok": bool,
"error": string,
"display_message": string,
"rma_status": string,
"label_positions":
[ { "art_id": int, "art2lager_id": int, "count": float, "label_id": int }, { ... }, ... ]
}