CRM On Demand - Web Services Integration (MOSC)

MOSC Banner

Web Service and Groovy Oracle Sales Cloud

Hi all,

i want to update the party usage code , i used this code:

def curPartyId = '300001032631383'
Date curDate = new Date()
  
def partyUsageAssignment =
[     
      PartyId : curPartyId,      
      PartyUsageCode : 'CONTACT',      
      EffectiveStartDate : curDate,    
      CreatedByModule : 'FUSE'
 ]
  
try{
            def ws = adf.webServices.Call_Party_Usage_Service.assignPartyUsage(partyUsageAssignment)
          println('Party Usage Assigned')
          
        }
        catch (Exception e){
            println(e)
            
        }

I have always this error: java.lang.NullPointerException: Cannot invoke method assignPartyUsage() on null object.

Can you help me?
Thanks


Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

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

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center