您位於此處:
執行批次工作以取得保險
Insurance 提供數個 Apex 批次工作,可修正您組織中的不完整或錯誤的 Insurance 記錄。執行這些批次工作以起始這些工作。
- 按一下快速存取功能表 (設定齒輪圖示),然後按一下「開發人員主控台」。
- 從「除錯」功能表中,選取「開啟執行匿名視窗」。
-
將其中一個程式碼區塊貼到「輸入 Apex 程式碼」對話方塊中。
執行 Fix Product Attribute 中繼資料批次工作:
vlocity_ins.FixProductAttribJSONBatchJob attrJSONBatchJob = new vlocity_ins.FixProductAttribJSONBatchJob();ID batchprocessid3 = Database.executeBatch(attrJSONBatchJob);System.debug ('Fix attribute JSON:' + batchProcessId3);新增來源類型產品屬性規則批次工作:
vlocity_ins.AttributeRuleUpgradeBatch upgradeAttrRuleBatchJob = new vlocity_ins.AttributeRuleUpgradeBatch();ID batchProcessId2 = Database.executeBatch(upgradeAttrRuleBatchJob);System.debug('Add source type to attribute rule process id:' + batchProcessId2);修正未完成的覆寫定義批次工作:
vlocity_ins.FixIncompleteOverrideDefinitionBatch fixOverrideBatchJob = new vlocity_ins.FixIncompleteOverrideDefinitionBatch();ID batchProcessId1 = Database.executeBatch(fixOverrideBatchJob);System.debug('Fix Incomplete Override Definition process id:' + batchProcessId1); - 按一下「執行」。
- 針對剩餘的程式碼區塊重複步驟 3 和 4。
