Skip to main content
Answer

Import Scenario error

  • May 13, 2025
  • 3 replies
  • 45 views

Forum|alt.badge.img

Hello all,

I have a column for Qty in my import file and the goal is that value to be imported should by Qty/3.

I entered the same forumla in Import routine but it triggered the following error:

Cannot perform the '/' operation on System.String and System.Int32.

 

How to resolve this?

Best answer by lauraj46

Hi ​@Harry ,

Try converting the input field to a numeric data type:

=CDbl([SKU])/3

Hope this helps!

Laura 

3 replies

dcomerford
Captain II
Forum|alt.badge.img+15
  • Captain II
  • May 13, 2025

@Harry That should work can you screen showing the formula in the import scenario


Forum|alt.badge.img
  • Author
  • Semi-Pro II
  • May 13, 2025

@Harry That should work can you screen showing the formula in the import scenario

Hey ​@dcomerford , here’s the mapping:
 

where SKU column has my qty for each line.


lauraj46
Captain II
Forum|alt.badge.img+8
  • Captain II
  • Answer
  • May 13, 2025

Hi ​@Harry ,

Try converting the input field to a numeric data type:

=CDbl([SKU])/3

Hope this helps!

Laura