Skip to main content
Question

Error: The required configuration data is not entered on the Account Receivable Preferences form.


Forum|alt.badge.img

I am doing a unit test of a customization for the accounts receivable module but I get the following error, I have already done the exercises of the pdf T280_Testing_Business_Logic_2023R2, can you help me?

 

8 replies

meganfriesen37
Captain II
Forum|alt.badge.img+10

In your Acumatica environment has someone gone to the AR Preferences screen and pressed save?  I usually get this error on brand new sites when the numbering sequences, etc. have not been saved (though they populate by default).


Forum|alt.badge.img
  • Author
  • Freshman II
  • 15 replies
  • April 24, 2024

I did what you indicated, but now I get the following error, remember that I'm running unit tests 

 


meganfriesen37
Captain II
Forum|alt.badge.img+10

Is there at least one company set up in your system and has the basic configuration been completed?  There may be some other ideas here for troubleshooting your error:  

 


Forum|alt.badge.img
  • Author
  • Freshman II
  • 15 replies
  • April 25, 2024

Yes there is, but I would like to make use of the [Fact] property when executing I get another error:

ComponentNotRegisteredException: The requested service 'System.Func`2[[PX.Data.PXGraph, PX.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[PX.Objects.CM.Extensions.IPXCurrencyService, PX.Objects, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' has not been registered. To avoid this exception, register a component that provides the service, check the service registration using IsRegistered() or use the ResolveOptional() method to resolve an optional dependency

 


Forum|alt.badge.img+2
  • Acumatica Employee
  • 29 replies
  • April 26, 2024

Did you register the service as it is described in https://help.acumatica.com/(W(2))/Help?ScreenId=ShowWiki&pageid=83427471-c909-4771-90ca-96045ef0b064 and in Activity 2.5 of the training course?


Dmitrii Naumov
Acumatica Moderator
Forum|alt.badge.img+6
  • Acumatica Moderator
  • 595 replies
  • April 29, 2024

Forum|alt.badge.img
  • Author
  • Freshman II
  • 15 replies
  • April 29, 2024

@Dmitrii Naumov  I am following your example but I get the following error :

 


Chris Hackett
Community Manager
Forum|alt.badge.img
  • Acumatica Community Manager
  • 2658 replies
  • June 4, 2024

Hi @alopez21 were you able to find a solution? Thank you!


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings