Service/Calc/PvWriteOff/A/SaveDownline.php
private function loadCustomersAccounts()
    {
        $mapAccs = $this->daoAcc->getAllByAssetTypeCode(Cfg::CODE_TYPE_ASSET_PV);
        $result = [];
        foreach ($mapAccs as $one) {
            $custId = $one->getCustomerId();
            $result[$custId] = $one;
        }
        return $result;
    }
private function loadCustomersAccounts()
    {
        $mapAccs = $this->daoAcc->getAllByAssetTypeCode(Cfg::CODE_TYPE_ASSET_PV);
        $result = [];
        foreach ($mapAccs as $one) {
            $custId = $one->getCustomerId();
            $result[$custId] = $one;
        }
        return $result;
    }
Load accounts by asset type code and map its using $customerId as a key.

@return \Praxigento\Accounting\Repo\Data\Account[]