コード例 #1
0
ファイル: MoveSetData.php プロジェクト: hendri30/OpenPrint
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getLocationDest()
 {
     return $this->hasOne(StockLocation::className(), ['id' => 'location_dest_id']);
 }
コード例 #2
0
ファイル: StockLocation.php プロジェクト: hendri30/OpenPrint
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getChainedLocation()
 {
     return $this->hasOne(StockLocation::className(), ['id' => 'chained_location_id']);
 }
コード例 #3
0
ファイル: InternalMove.php プロジェクト: hendri30/OpenPrint
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getSource0()
 {
     return $this->hasOne(StockLocation::className(), ['id' => 'source']);
 }
コード例 #4
0
ファイル: ResPartner.php プロジェクト: hendri30/OpenPrint
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getStockLocations()
 {
     return $this->hasMany(StockLocation::className(), ['partner_id' => 'id']);
 }
コード例 #5
0
ファイル: AccountAccount.php プロジェクト: hendri30/OpenPrint
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getStockLocations()
 {
     return $this->hasMany(StockLocation::className(), ['valuation_out_account_id' => 'id']);
 }
コード例 #6
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getPickingLocation()
 {
     return $this->hasOne(StockLocation::className(), ['id' => 'picking_location']);
 }