ブレケケ・コンタクトセンター・スイート

CRM View オブジェクト

《オブジェクトの参照例》
$view.customer.sections["customer"]
$view.customer.sections["personalinfo"].fields["name"]
$view.customer.fields["name"]
$view.contact.fields["result"]
$view.contact.fields.result

※イベントの発生源オブジェクトは $source 変数に格納される。

onScreenLoadの場合は

→顧客情報セクショングループがロードされた場合は、customerオブジェクト
→コンタクト結果セクションがロードされた場合は、contactオブジェクト
→コンタクト履歴がロードされた場合は、contacthistoryオブジェクト

onContactResultCommitの場合は、GenericSectionオブジェクト(contactセクションオブジェクト)

→コンタクト結果セクションでコミットされた場合は、contactオブジェクト
→コンタクト履歴でコミットされた場合は、contacthistoryオブジェクト

onFieldValueChangedの場合は、Fieldオブジェクト(イベントが発生したFieldオブジェクト)

 

$view (ルートオブジェクト)

【プロパティ】

string projectId 現在の業務ID。業務のスコープ外の場合はnull
string projectName 現在の業務名。業務のスコープ外の場合はnull

CustomerSections customer 顧客情報セクショングループ
GenericSection commonbase 基本情報セクション(業務画面)
GenericSection customerbase 基本情報セクション(管理画面)
GenericSection calllistbase 発信先基本情報セクション(管理画面)
GenericSection customerproject 業務上顧客情報セクション
GenericSection callinformation 通話情報セクション
GenericSection contact コンタクト結果セクション
GenericSection callresult 発信結果セクション
ReservationSection callreservation 発信予約セクション
HistoricalSection callhistory 発信履歴セクション
HistoricalSection contacthistory コンタクト履歴セクション

【メソッド】

boolean isOnAgentView() エージェント業務画面の場合はtrue
boolean isContacting() コンタクト中の場合はtrue

 

CustomerSections customer(顧客情報セクション群オブジェクト)

【プロパティ】

Object fields{ Field field1, Field field2,,, } 顧客情報の項目(Field)の連想配列。プロパティ名はFieldオブジェクトのフィールドIDと同等
Object sections{ Section section1, Section section2,,, } 顧客情報のセクション(Section)の連想配列。プロパティ名はSectionオブジェクトのセクションIDと同等

【メソッド】

boolean isCustomer() 情報が顧客の場合はtrue
boolean isCallList() 情報が発信リストの場合はtrue
boolean isEditing() 情報が編集中の場合はtrue
boolean startEdit(); 編集モードに移行する
boolean saveEdit(); 編集を保存する
boolean cancelEdit(); 編集をキャンセルする
void registerAsCustomer() 顧客未登録の情報を顧客登録する
void setReservationCancelFlag(boolean); 予約取消ボタンの押下状態の変更
boolean getReservationCancelFlag(); 予約取消ボタンの押下状態の取得

 

Section (セクションの基底オブジェクト)

【プロパティ】

string secntionId セクションのID(既定の値またはカテゴリのカテゴリIDと同等。未指定の場合は自動付加する)

【メソッド】

object getDOMObject() セクションを構成する最上位のDOMオブジェクト
object getTitleDOMObject() セクションのタイトル部を構成する最上位のDOMオブジェクト
boolean getVisible() セクションの可視状態を取得する
setVisible(boolean) セクションの可視状態を設定する
booleangetReadonly() セクションの読み取り専用状態を取得する
setReadonly(boolean) セクションの読み取り専用状態を設定する
string getTitle() セクションのタイトルを取得する
setTitle(string) セクションのタイトルを設定する

 

GenericSection extends Section (標準セクションオブジェクト)

【プロパティ】

Object fields{ Field field1, Field field2,,, } セクションの項目(Field)の連想配列。プロパティ名はFieldオブジェクトのフィールドIDと同等

 

ReservationSection extends GenericSection (予約セクションオブジェクト)

【メソッド】

void reserve() 発信予約をする

 

HistoricalSection extends Section (履歴系セクションオブジェクト)

【プロパティ】

Object fields{ Field field1, Field field2,,, } 現在開いている明細の項目(Field)の連想配列。プロパティ名はFieldオブジェクトのフィールドIDと同等

 

Field (フィールドの仮想規定オブジェクト)

【プロパティ】

string fieldId フィールドのID(規定の値または項目のフィールドIDと同等)
string fieldType フィールドのデータ型を示す文字列
Section parentSection 所属するセクションのオブジェクト

【メソッド】

object getDOMObject() フィールドを構成する最上位のDOMオブジェクト
object getInputDOMObject() フィールドのラベル部を構成する最上位のDOMオブジェクト
object getLabelDOMObject() フィールドのINPUT部を構成する最上位のDOMオブジェクト

boolean getVisible() フィールドの可視状態を取得する
setVisible(boolean) フィールドの可視状態を設定する
boolean getReadonly() フィールドの読み取り専用状態を取得する
setReadonly(boolean) フィールドの読み取り専用状態を設定する
variant getValue() フィールドの値を取得する
setValue(variant) フィールドの値を設定する
getLabel(string) フィールドのラベルを取得する
string setLabel() フィールドのラベルを設定する

 

《フィールドのデータ型》
●TextField extends Field テキスト型フィールド
●LongTextField extends Field ロングテキスト型フィールド
●NumberField extends Field 数値型フィールド
●CheckBoxField extends Field チェックボックス型フィールド
●SelectListField extends Field 選択リスト型フィールド
●MultiSelectListField extends Field 選択リスト(階層)型フィールド
●RadioButtonField extends Field ラジオボタン型フィールド
●DateField extends Field 日付型フィールド
●TelephoneNumberField extends Field 電話番号型フィールド
●BirthdayField extends Field 生年月日型フィールド
●ScriptButtonField extends Field スクリプトボタン型フィールド
●ScriptField extends Field スクリプト型フィールド

●HiddenValueField extends Field 非表示型フィールド
●TextLabelField extends Field 文字列ラベル型フィールド(基本情報の顧客ID等)
●ConstantsLabelField extends Field 定数ラベル型フィールド(通話情報の区分・種別等)
●DateTimeLabelField extends Field 日時ラベル型フィールド(基本情報の登録日時等)
●StatusField extends Field ステータス型フィールド(顧客ステータス等)
●TimeRangeField extends Field 時間範囲型フィールド(発信予約の時間帯等)
●ComboBoxField extends Field コンボボックス型フィールド(発信予約のエージェント割当等)
●TSPField extends Field TSP型フィールド(コンタクト結果のTSP欄等)

 

《既定のセクションのフィールド》

★commonbase 基本情報セクション(業務画面)

customer_id 顧客ID(TextLabelField)
registered_date 登録日時(ConversionLabelField)
contacted_date 最終コンタクト日時(ConversionLabelField)
contact_result 最終コンタクト結果(ConversionLabelField)
status ステータス(StatusField)
reserve_user 予約ユーザー(ConversionLabelField)
reserve_type 予約種別(ConversionLabelField)
reserve_telno 予約電話番号(ConversionLabelField)
reserve_date 予約日(ConversionLabelField)
reserve_time 予約時間帯(ConversionLabelField)
reserve_day_week 予約曜日(ConversionLabelField)
reserve_priority 予約優先度(ConversionLabelField)

★customerbase 基本情報セクション(管理画面)

customer_id 顧客ID(TextLabelField)
registered_date 登録日時(ConversionLabelField)
contacted_date 最終コンタクト日時(ConversionLabelField)
contact_result 最終コンタクト結果(ConversionLabelField)
status ステータス(StatusField)

★calllistbase 発信先基本情報セクション

registered_date 登録日時(ConversionLabelField)
completed_date 完了日時(ConversionLabelField)
state 状態(ConversionLabelField)
dialed_result 最終発信結果(ConversionLabelField)
contact_result 最終コンタクト結果(ConversionLabelField)
dialed_count 発信回数(TextLabelField)
reserve_user 予約ユーザー(TextLabelField)
reserve_agent 割当エージェント

★customerproject 業務上顧客情報セクション

status ステータス(StatusField)

★callinformation 通話情報セクション

call_id 通話ID(TextLabelField)
contact_type 区分・種別(ConversionLabelField)
external_telno 発信元番号(ConversionLabelField)
customer_telno 顧客電話番号(TextLabelField)
additional_info 付加情報(TextLabelField)
contacted_date 通話開始日時(HiddenField)

★contact コンタクト結果セクション

tsp TSPセクション(TSPField)

★callresult 発信結果セクション

result 発信結果(SelectListField)
result_option 付加情報(SelectListField)
result_note メモ(LongTextField)

★callreservation 再発信予約(発信予約)セクション

reserve_type 予約種別(SelectListField)
reserve_telno 電話番号(SelectListField)
reserve_date 日付(DateField)
reserve_time 時間帯(TimeRangeField)
reserve_day_week 曜日(CheckBoxField)
reserve_agent エージェント割当(ComboBoxField
Yes No
Suggest Edit