actindo ->rma__set_actions
actindo -> rma__set_actions: Set actions to be done before closing return bill
Signaturstring rma__set_actions( string $sid, int $bill_id, $data )
 
Parameter
  • string $sid
    Session identier you got from auth__login or auth__token_login
     
  • int $bill_id
    * @param array $data
     
  • $data

     
Returnsstring
{"ok": bool}
 
DescriptionSet actions to be done before closing return bill

structure of array $data:
[
{
"pos_prod_idx": int, (running index of articles in a position),
"pos_id": int, (position ID)
"retour_action": int, (action after return process -> rma__get_possible_actions)
"retour_wertminderung": float, (depreciation of article)
"retour_wertminderung_comment": string, (depreciation comment)
"retour_back_to_lft": int, (return article to supplier, 1 or 0)
}
]