Skip to main content
Solved

Import Scenario error

  • May 13, 2025 9:33 AM UTC
  • 3 replies
  • 90 views
  • Translate All

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 

View original

3 replies

dcomerford
Captain II
Forum|alt.badge.img+16
  • Captain II
  • May 13, 2025 9:44 AM UTC

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

Translate

Forum|alt.badge.img
  • Author
  • Semi-Pro III
  • May 13, 2025 10:54 AM UTC

​@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.

Translate

lauraj46
Captain II
Forum|alt.badge.img+9
  • Captain II
  • Answer
  • May 13, 2025 11:11 AM UTC

Hi ​@Harry ,

Try converting the input field to a numeric data type:

=CDbl([SKU])/3

Hope this helps!

Laura 

Translate