Service/Calc/SignUpDebit/A/ProcessOrders.php
private function getAccSys($assetTypeCode)
    {
        $req = new \Praxigento\Accounting\Api\Service\Account\Get\Request();
        $req->setIsSystem(TRUE);
        $req->setAssetTypeCode($assetTypeCode);
        $resp = $this->servAccount->exec($req);
        $result = $resp->getId();
        return $result;
    }
private function getAccSys($assetTypeCode)
    {
        $req = new \Praxigento\Accounting\Api\Service\Account\Get\Request();
        $req->setIsSystem(TRUE);
        $req->setAssetTypeCode($assetTypeCode);
        $resp = $this->servAccount->exec($req);
        $result = $resp->getId();
        return $result;
    }
private function getAccSys ( $ assetTypeCode ) { $ req = new \ Praxigento \ Accounting \ Api \ Service \ Account \ Get \ Request ( ) ; $ req -> setIsSystem ( TRUE ) ; $ req -> setAssetTypeCode ( $ assetTypeCode ) ; $ resp = $ this -> servAccount -> exec ( $ req ) ; $ result = $ resp -> getId ( ) ; return $ result ; }
Get system account ID by asset type ID.

@param string $assetTypeCode
@return int
Get system account ID by asset type ID .