Пример #1
0
 public function getStockPicking0()
 {
     return $this->hasOne(StockPicking::className(), ['note_id' => 'id']);
 }
Пример #2
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getStockPickings()
 {
     return $this->hasMany(StockPicking::className(), ['weight_uom_id' => 'id']);
 }
Пример #3
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getPicking()
 {
     return $this->hasOne(StockPicking::className(), ['id' => 'picking_id']);
 }
Пример #4
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getStockPickings()
 {
     return $this->hasMany(StockPicking::className(), ['invoice_id' => 'id']);
 }