Пример #1
0
 /**
  * Counts all associated AssetTransactionsAsSource
  * @return int
  */
 public function CountAssetTransactionsAsSource()
 {
     if (is_null($this->intLocationId)) {
         return 0;
     }
     return AssetTransaction::CountBySourceLocationId($this->intLocationId);
 }