[組織マスタ イベントリスナー]
組織マスタのイベントと処理を結びつける
| package |
Default |
|---|
__construct(object $logger = '')
objectロガー
afterDataChange(\Phalcon\Events\Event $event, \SCC\Api\Model\MCoreOrganization $model, array $params) : boolean
新たに組織分類が紐づけされた際、その組織分類が営業報告される側である場合、対象テーブルのデータも自動で登録する
| throws |
|---|
\Phalcon\Events\Eventイベントクラス
array登録・更新データ(domain_cd:ドメインCD, org_cd:組織コード, upd_user_id:更新者ID, mode:更新モード)
boolean
getRelativeTarget( $relative_opt, &$data) : \SCC\Api\Model\Behaviors\{@inheritDoc}
{@inheritDoc}
| throws |
|---|
{@inheritDoc}
{@inheritDoc}
\SCC\Api\Model\Behaviors\{@inheritDoc}
getSalesDailyInfo(\Phalcon\Events\Event $event, string $domain_cd, string $org_cd) : array
| throws |
|---|
\Phalcon\Events\Eventイベントクラス
stringドメインコード
string組織コード
array売上日報設定情報
makeDirectOrgTarget( $rel) : \SCC\Api\Model\Listener\{@inheritDoc}
{@inheritDoc}
| see | \SCC\Api\Model\Extend\CommonCoreHaveTargetModel::makeDirectOrgTarget() |
|---|
{@inheritDoc}
\SCC\Api\Model\Listener\{@inheritDoc}
makeLoginOrgTarget( $rel) : \SCC\Api\Model\Listener\{@inheritDoc}
{@inheritDoc}
| see | \SCC\Api\Model\Extend\CommonCoreHaveTargetModel::makeLoginOrgTarget() |
|---|
{@inheritDoc}
\SCC\Api\Model\Listener\{@inheritDoc}
makePrivateTarget( $optData) : \SCC\Api\Model\Listener\{@inheritDoc}
{@inheritDoc}
| see | \SCC\Api\Model\Extend\CommonCoreHaveTargetModel::makePrivateTarget() |
|---|
{@inheritDoc}
\SCC\Api\Model\Listener\{@inheritDoc}
makeRelativeTarget( $rel, $targetData) : \SCC\Api\Model\Listener\{@inheritDoc}
{@inheritDoc}
| see | \SCC\Api\Model\Extend\CommonCoreHaveTargetModel::makeRelativeTarget() |
|---|
{@inheritDoc}
{@inheritDoc}
\SCC\Api\Model\Listener\{@inheritDoc}
domain_cd :
admin_org_cd :
org_class_cd :
report_target_cd :
logger :