actindo ->bill__rebuild_all
actindo -> bill__rebuild_all: Try rebuilding all bill data, new since __TICKET_NAME_CHX-156__
Signaturstring bill__rebuild_all( string $sid, int $billId )
 
Parameter
  • string $sid
    Session identier you got from auth__login or auth__token_login
     
  • int $billId
    Bill-ID
     
Returnsstring
array('ok'=>true/false, 'errno'=>error number in case of ok=false)
 
DescriptionTry rebuilding all bill data, new since __TICKET_NAME_CHX-156__

This function will try to rebuild everything for the given bill-ID (undo bookings, reset position prices, and so on and finally redo everything)

WARNING: use this function with caution, as it could brake your bills data