public function convertDocument($keepId = false, $addExtId = false,
                                    $keepCode = false, $handleAccountig = false)
    {
        if ($handleAccountig === false) {
            unset($this->rules['ucetni']);
        }
        $this->convertItems($keepId, $addExtId, $keepCode, $handleAccountig);
    }
public function convertDocument($keepId = false, $addExtId = false,
                                    $keepCode = false, $handleAccountig = false)
    {
        if ($handleAccountig === false) {
            unset($this->rules['ucetni']);
        }
        $this->convertItems($keepId, $addExtId, $keepCode, $handleAccountig);
    }
public function convertDocument ( $ keepId = false , $ addExtId = false , $ keepCode = false , $ handleAccountig = false ) { if ( $ handleAccountig === false ) { unset ( $ this -> rules [ 'ucetni' ] ) ; } $ this -> convertItems ( $ keepId , $ addExtId , $ keepCode , $ handleAccountig ) ; }
Convert FlexiBee document

@param boolean $keepId           keep item IDs
@param boolean $addExtId         add ext:originalEvidence:originalId
@param boolean $keepCode         keep items code
@param boolean $handleAccounting set item's "ucetni" like target
Convert FlexiBee document