Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3116

Use of Duration - Custom BO - Action

$
0
0

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"):

 

Error4Static 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:

 

Duration - Issue.png

 

thanks in advance.

 

kind regards,

 

Andres


Viewing all articles
Browse latest Browse all 3116

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>