元のシステム参照の作成
次の例は、Groovyを使用してオブジェクトのオリジナル・システム参照を作成する方法を示しています。
-
トリガーを作成する前に、Setup and Maintenance(設定および保守)に移動し、次のソース・システムが定義されていて、必要な設定があることを確認します:
-
取引先コミュニティ・ソース・システムの管理(「取引先コミュニティ・メンバーに使用可能」で有効化)
-
ソース・システム・エンティティの管理
-
-
次に示すように、アカウントでトリガーを作成します:
def newRef = OriginalSystemReference.createRow(); newRef.setAttribute('OrigSystem', 'XXXXX'); //provide the desired Source System Code newRef.setAttribute('OrigSystemReference', 'XXXXX'); //provide a literal or variable with the Source System Reference newRef.setAttribute('CreatedByModule', 'FUSE'); //populate the attribute CreatedByModule with a value from Setup and Maintenance > Manage Standard Lookups > HZ_CREATED_BY_MODULES OriginalSystemReference.insertRow(newRef);