Thursday, November 1, 2018

R05-SS: Create Renewals nightly execution log shows unexpected error: Renewing Contract x:JavaException: com.netledger.core.record.query.NLRecordValidation$InvalidReferenceKeyUserError

- Navigate to Customization > Forms > Transaction Forms to check if form xxx is Active.

- Contract Renewals > Setup > Contract Renewals Preferences > Contract Renewals Creation 

--Default Renewal Form ID = Sales Order- Contract Renewals (internal id xxx) 

--Transaction Type to Create = Quote 

- Error message is generated because the transaction type to create is Quote while the renewal form is a sales order form - The transaction type to create should be in accordance to the renewal form

- Make sure that the transaction type to create and renewal form are compatible with each other (i.e. transaction type to create is Quote and the renewal form is a Quote form)

- Save

-  Customization > Scripting > Script Deployments 

-- Edit R05-SS: Create Renewals nightly 

-- Set Status to Testing 

-- Execute as Admin = T 

-- Save and Execute 

- Renewal contracts are generated and the error is no longer reproduced. 

- Set Status back to Scheduled. 

- Save.

No comments:

Post a Comment