Skip to Content
0
Apr 18, 2016 at 12:28 AM

Use of Duration - Custom BO - Action

36 Views

Hi All,

I'm facing an issue which is not clear at all to me.

I was wondering whether someone could explained it to me.

I created a custom BO and defined an action.

On this action, I want to create a Duration however I get the following error message when I call "Create" method (Same for method "ParseFromSting"):

Error 4 Static reuse services cannot be called instance-based.

==> Btw: this code works fine on an event of a standard BO (E.g: BeforeSave).

Here is my coding:

thanks in advance.

kind regards,

Andres

Attachments