Solved

Error during import scenario: Value either too large or too small

  • 17 March 2023
  • 5 replies
  • 151 views

Userlevel 7
Badge +16

Hi all,

I am receiving this error when trying to import Contacts for CRM, has anyone seen it before?

at System.Decimal..ctor(Double value) at PX.DataSync.ExcelSYProvider.<>c__DisplayClass12_1.<InternalImport>b__0(Int32 index) at PX.DataSync.PXSYBaseFileProvider.ImportRowFill(PXSYTable table, List`1 sourceColumns, Func`2 action) at PX.DataSync.ExcelSYProvider.InternalImport(PXSYTable table) at PX.DataSync.PXSYBaseFileProvider.Import(String objectName, String[] fieldNames, PXSYFilterRow[] filters, String lastTimeStamp, PXSYSyncTypes syncType) at PX.Api.SyMappingUtils.QueryProvider(SYProcess graph, SYMapping mapping, SYImportOperation operation, IList`1 sources, List`1 filters) at PX.Api.SyMappingUtils.QueryProviderForPreparedData(SYProcess graph, SYMapping mapping, SYImportOperation operation) at PX.Api.SyMappingUtils.PrepareData(SYProcess graph, SYMappingActive mapping, SYImportOperation operation, SYMappingActive updated) at PX.Api.SyMappingUtils.ProcessMapping(SYProcess graph, SYMappingActive mapping, SYImportOperation operation) at PX.Api.SYImportProcessSingle.<>c__DisplayClass67_0.<PerformOperation>b__0() at PX.Concurrency.CancellationIgnorantExtensions.RunWithCancellationViaThreadAbort(Action method, CancellationToken cancellationToken) at PX.Concurrency.CancellationIgnorantExtensions.<>c__DisplayClass1_0.<ToCancellationViaThreadAbort>b__0(CancellationToken cancellationToken) at PX.Concurrency.Internal.PXLongOperationPars.PopAndRunDelegate(CancellationToken cancellationToken) at PX.Concurrency.Internal.RuntimeLongOperationManager.PerformOperation(PXLongOperationPars p)

icon

Best answer by manikantad18 17 March 2023, 08:50

View original

5 replies

Userlevel 7
Badge +17

Hi @kandybeatty49  

The decimal type in C#.NET has a range from approximately -79,228,162,514,264,337,593,543,950,335 to 79,228,162,514,264,337,593,543,950,335, with up to 28 digits of precision. If the value being assigned is outside of this range, you will encounter the error message.

In your import scenario, can you please check the decimal fields to make sure fall in this range?

Userlevel 7
Badge +11

Hi @kandybeatty49 

Please check the source data. The error could come due one of the following reason :

  • The format of a column being incorrect ( general v/s number/ decimal etc)
  • The column has an incorrect or large value as compared to the format specified

Are you using standard import scenario ?

Regards,

Userlevel 7
Badge +16

Hi @kandybeatty49  

The decimal type in C#.NET has a range from approximately -79,228,162,514,264,337,593,543,950,335 to 79,228,162,514,264,337,593,543,950,335, with up to 28 digits of precision. If the value being assigned is outside of this range, you will encounter the error message.

In your import scenario, can you please check the decimal fields to make sure fall in this range?

It is an issue with the data given. I am working to fix it. 

Userlevel 7
Badge +16

Hi @kandybeatty49 

Please check the source data. The error could come due one of the following reason :

  • The format of a column being incorrect ( general v/s number/ decimal etc)
  • The column has an incorrect or large value as compared to the format specified

Are you using standard import scenario ?

Regards,

Yes, it is an out of the box import. I tested with about 100 records and they worked so it needs to somewhere else in the rest. 

Userlevel 7
Badge +12

Hi @kandybeatty49 This was a data issue in the excel. we have handled it I believe.

 

Thanks

 

Reply


About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2024  Acumatica, Inc. All rights reserved