Transaction Not Getting Created When Invoking WebService With Groovy Code

(Doc ID 2018680.1)

Last updated on JULY 06, 2017

Applies to:

Oracle Fusion Incentive Compensation - Version and later
Oracle Fusion Incentive Compensation Cloud Service - Version and later
Information in this document applies to any platform.


Created groovy script from Sales Cloud to call Incentive Compensation transaction webservice when creating an opportunity.

Sample groovy code :

def incentiveTransactionStaging =
  BusinessUnitId :'300000000517008',
  Country :'US',
  CreditDate :currentDate,
  ProcessCode :'CCREC',
  RollupDate :currentDate,
  SourceEventDate :currentDate,
  SourceTrxNumber :v_optyName,
  TransactionType :'MANUAL',
  currencyCode :'USD',
  //optional instance of type:'SourceCurrencyCreditAmount' for accessor:'SourceCurrencyTransactionAmount'
  unitCode :'1',

JBO-27023: Failed to validate all rows in a transaction.JBO-27024: Failed to validate a row with key oracle.jbo.Key[-1 MANUAL TEST_IC_Trx_03June_1 ] in TransactionStagingEO JBO-27014: Attribute TransactionAmtSourceCurr in TransactionStagingEO is required

Trigger the groovy code by saving a won opportunity as in groovy script


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms