Re: System.InvalidOperationException

This thread is now closed to new comments.
Some of the links and information provided in this thread may no longer be available or relevant.
If you have a question please start a new post.
G_Forster
3 Posts
User

3Posts

4Kudos

0Solutions

Solved: Go to Solution

Re: System.InvalidOperationException

This is the error I receive when I try and save the empdupe file, please assist.

 

 

System.InvalidOperationException: An exception occurred while reading a database value for property 'EmployeePayrollDetailsUserDefinedEntitlementLine.Hours'. The expected type was 'System.Decimal' but the actual value was null. ---> System.NullReferenceException: Object reference not set to an instance of an object.

 

4 REPLIES 4
G_Forster
3 Posts
User

3Posts

4Kudos

0Solutions

Re: System.InvalidOperationException

Hi Andrew,

This is the error I receive when I try and save the empdupe file, please assist.

 

 

System.InvalidOperationException: An exception occurred while reading a database value for property 'EmployeePayrollDetailsUserDefinedEntitlementLine.Hours'. The expected type was 'System.Decimal' but the actual value was null. ---> System.NullReferenceException: Object reference not set to an instance of an object.

Last 4 Digits are XXXX 3463

Gayathri
1,144 Posts
Former Staff
Former Staff

1,144Posts

0Kudos

122Solutions

Re: System.InvalidOperationException

Hi @G_Forster,

 

Thank you for the post! Welcome to the MYOB Community Forum.  

 

Could you provide me with few details as I see in our records using your forum email address, that you don’t have a active subscription.

 

If you can send a private message with the details:

  1. The serial number of the company file (Setup>>Company Information).
  2. Email Address
  3. Company File ID
  4. Account Name

Here is a link that will take you to your private messages- Private Messages . You can send us a private message here.

 

If you have any further questions, please feel free to post again.

 

Thank you.

Cheers,
Gayathri

MYOB Community Support

Online Help| Forum Search| my.MYOB| Download Page

Did my answer help?

Mark it as a SolutionHelpful? Leave a to tell others

Gayathri
1,144 Posts
Former Staff
Former Staff

1,144Posts

0Kudos

122Solutions

Accepted Solution Solved

Re: System.InvalidOperationException

Hi @G_Forster,

 

Thank you for the post!

 

I have run the script for you now. Could you please logout and login now.

 

Do let us know how it goes.

 

Thank you.

Cheers,
Gayathri

MYOB Community Support

Online Help| Forum Search| my.MYOB| Download Page

Did my answer help?

Mark it as a SolutionHelpful? Leave a to tell others

G_Forster
3 Posts
User

3Posts

4Kudos

0Solutions

Re: System.InvalidOperationException

Thank you you're the best spent half an hour on the phone on hold then thought I would check this forum much better result.

Didn't find your answer here?

Try using advanced search to find a post more easily Advanced Search
or
Get the conversation started and make a new post Start a Post