cancel
Showing results for 
Search instead for 
Did you mean: 

How to unlock an locked BO.

pablo_daniel
Participant
0 Kudos

Hi experts, i have a problem executing an MDR with 3000 rows.

This MDR was created for a custom BO that has an association to the SalesQuotes.

Basically, MDR Fails and is showing the following screen. But the problem is that the Salesquotes are bloqued.

Can you help me showing how i can to unlock this Salesquotes?

Another question, How i can to see the details sectios to see the specific error?

Thanks.

Regard Pablo.

Accepted Solutions (1)

Accepted Solutions (1)

pablo_daniel
Participant

Hi experts,

Finally the issue was solved, just the blocked Sales quotes recently was unlocked.

I supose that the problem was the time of the execution and post-processing.

Only we have 3000 sales quotes and the execution time delays 10 hours.

Thx for the help.

Regard Pablo.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Pablo,

Can you click on results and screenshot that screen please, and also the details section please.

Regards,

Will

pablo_daniel
Participant
0 Kudos

Hi Will,

Where is the detail Section?

Thx Will.

Regards Pablo.

Former Member
0 Kudos

Hi Pablo,

From the above please note the time and date stamp use the same to filter out the Rejected Inbound Calls in the system, which will basically give you the detailed information of the error

Place where to find this further is attached, please refer to it. Thanks.

Regards

Hanu K

Former Member
0 Kudos

You say that SalesQuotes are blocked? What do you mean by this + how do you know this (where is it displayed etc...)?

Kind Regards,

Will

pablo_daniel
Participant
0 Kudos

Hi will,

I created an MDR that create an Activity in the Salesquote, when the MDR Execution wah finished just i check severals Sales quote proceceed and the message in the Sales quote is the same.

Also, the modification of the activity cannot be done.

Sorry Will, but i cannot to find the Detail Section.

Thx for the reply.

Regards Pablo.

Former Member
0 Kudos

Arh

So that user is logged in and is currently accessing the object, so you only have read-only access to it.

Just ask the user to log out or exit the object and re-run the MDR.

Kind Regards,

Will

pablo_daniel
Participant
0 Kudos

Hi Will, Thanks for the Reply.

When the MDR was executed the user was loggued out. . Now all the sales quotes executed in the MDR was blocked.

There is another way to unlock by code or manually this bo´s?

I will try to executed again the MDR anyway.

Thx.

Former Member
0 Kudos

I think I see what is happening here.

Are you executing the MDR logged in as Claudia? If so then I am assuming that it's just taking a while for the MDR to run as you are trying to access 3000 rows. What are you trying to do to each SalesQuote?

Kind Regards,

Will

sunil1101
Advisor
Advisor
0 Kudos

Hi

If I am not wrong then this BO is locked by MDR itself, User CCUERO might have schedule the job,

and MDR trying to update/edit same object in current scope , if this is the case then you have to correct your ABSL logic, so it should edit bo object only once. otherwise follow Will Godsall 's suggestion.

Regards

Sunil.

pablo_daniel
Participant
0 Kudos

Hi Will,

yes, i am executing the MDR logged in as Claudia.

Basically, i filter the Sales quote that not has activities and then runs the MDR with an action with the following script. Basically is creating an activity for each Sales quote.

import ABSL;

import AP.PC.ActivityManagement.Global;


//Creating a reference to the activity.

var actividad = Activity.CreateWithReference(this.custQuote, "86");

actividad.ScheduledStartDateTime = this.custQuote.DateTime.AddDuration(ABSL:Duration.ParseFromString("P3D")).ConvertToLocalNormalisedDateTime();

actividad.SubjectName = "Llamada de seguimiento";

this.custQuote.TimeActivity = this.CustomerQuote.DateTime.AddDuration(ABSL:Duration.ParseFromString("P3D")).ConvertToDate();

this.NotProceesed = true;

Thanks,

Regard, Pablo.

Former Member
0 Kudos

If you're doing that for 3000 objects then it is going to take a while!!!!!

Can you check if any Activities have been created?

Kind Regards,

Will

pablo_daniel
Participant
0 Kudos

Hi Will,

The activities was not created.  .

Best Regard.

Pablo.

pablo_daniel
Participant
0 Kudos

Hi Sunil,

Yes, the MDR was scheduled by user CCUERVO. Now is locked after the execution.

The MDR have errors after execute. Maybe the problem was in the ABSL, but i cannot to clear the custom BO also to unlock the Sales quotes.

Thanks.

Regard Pablo.

Jacques-Antoine
Active Participant
0 Kudos

Hello Pablo,

I am not sure if it will solve your issue, but you could try to kill your sessions of Claudia in order to remove the lock issue.

In order to do that, go in Internet Explorer (Firefox does not work well with that) and log to the system with the Claudia user.

The system should tell you that there are existing sessions for this user ID and ask you if you want to delete them.

Click "Delete sessions" and it should be ok.

Hope this helps.

Thank you for your attention.

Best regards.

Jacques-Antoine Ollier

pablo_daniel
Participant
0 Kudos

Thanks Jacques-Antoine,

I tried this way. But i cannot have the option to remove the session.

Also i clean all the cookies.

Thx.

Regard Pablo.

Former Member
0 Kudos

Hi Pablo,

Are the objects still locked or not?

Kind Regards,

Will

pablo_daniel
Participant
0 Kudos

Hi Will. Yes, now i tried to execute again and the error is the same by each row. The object is locked..

Regards, Pablo.