Sage 100

 View Only
Expand all | Collapse all

Sage 100c Standard v2016. Importing sales orders

Jim Woodhead

Jim Woodhead12-13-2016 10:44

Jon Parkinson

Jon Parkinson12-13-2016 10:52

Jon Parkinson

Jon Parkinson12-13-2016 11:22

Jon Parkinson

Jon Parkinson12-13-2016 11:45

  • 1.  Sage 100c Standard v2016. Importing sales orders

    Posted 12-13-2016 10:32
    Sage 100c Standard v2016. Importing sales orders via Visual Integrator from csv file. The import file shows the extended price but not the unit price. For example, qty 2 / $51.00. Need to calculate the unit price (example $25.50), however no matter what conditional formula I use, I get error 40 (divide by zero). I am also having trouble overriding the Sage 100 calculated price directly. Can anyone help me?


  • 2.  RE: Sage 100c Standard v2016. Importing sales orders

    Posted 12-13-2016 10:36
    maybe unit of measure conversion factor issue?


  • 3.  RE: Sage 100c Standard v2016. Importing sales orders

    Posted 12-13-2016 10:38
    I am wondering if you set the extended price the Business Object it will calculate the unit price. Have you trying not importing the price? ( You will need to import the Quantity.)


  • 4.  RE: Sage 100c Standard v2016. Importing sales orders

    Posted 12-13-2016 10:39
    @Jim, yes I have tried that, but it doesn't do it.


  • 5.  RE: Sage 100c Standard v2016. Importing sales orders

    Posted 12-13-2016 10:42
    do a calculation... RND(Imp$[x] /imp$[y] ,2) (where x is the Extension column and column y in the quantity column Also put a conditional logic line like this imp$[y]<>0


  • 6.  RE: Sage 100c Standard v2016. Importing sales orders

    Posted 12-13-2016 10:44
    @JonParkinson edited line above


  • 7.  RE: Sage 100c Standard v2016. Importing sales orders

    Posted 12-13-2016 10:46
    How about reading in the extended price and quantity prior to the calculation? If not, I'd try reading the extended price into a numeric temp field and then doing the calculation. I'm actually surprised that @JimWoodhead 's suggestion to have the system calculate the price didn't work. That's how it works if you do it manually.


  • 8.  RE: Sage 100c Standard v2016. Importing sales orders

    Posted 12-13-2016 10:52
      |   view attached
    Here is an order with no price imported.


  • 9.  RE: Sage 100c Standard v2016. Importing sales orders

    Posted 12-13-2016 10:53
    I have tried multiple temp field calculations. As soon as I enter a divided by formula - the VI job errors #40.


  • 10.  RE: Sage 100c Standard v2016. Importing sales orders

    Posted 12-13-2016 10:58
    @Jim I tried: RND(Imp$[{SO_SalesOrderDetail.ExtensionAmt}] /imp$[{SO_SalesOrderDetail.QuantityOrdered}] ,2) but it does not pass the syntax check. Variable type invald.


  • 11.  RE: Sage 100c Standard v2016. Importing sales orders

    Posted 12-13-2016 11:00
    no use RND(Imp$[2] /imp$[3] ,2) the number references the column in the import file. it is a direct read of the data file


  • 12.  RE: Sage 100c Standard v2016. Importing sales orders

    Posted 12-13-2016 11:04
    above assumes your data file looks like Itemcode,extension,quantityordered


  • 13.  RE: Sage 100c Standard v2016. Importing sales orders

    Posted 12-13-2016 11:09
      |   view attached
    What am I doing wrong? FYI - Item code in column 22, Quantity 24, Ext Amt 26.


  • 14.  RE: Sage 100c Standard v2016. Importing sales orders

    Posted 12-13-2016 11:19
    rnd(num(imp$[26])/num(imp$[24]),2) try this.


  • 15.  RE: Sage 100c Standard v2016. Importing sales orders

    Posted 12-13-2016 11:21
    the formula needs numbers to do math. the num function turns the string into a number and the RND rounds to 2 decimal points


  • 16.  RE: Sage 100c Standard v2016. Importing sales orders

    Posted 12-13-2016 11:22
      |   view attached
    @Jim - Appreciate the help! But still no luck


  • 17.  RE: Sage 100c Standard v2016. Importing sales orders

    Posted 12-13-2016 11:29
    oops .. change RND to PRC too many languages!!


  • 18.  RE: Sage 100c Standard v2016. Importing sales orders

    Posted 12-13-2016 11:35
      |   view attached
    Partial good news, it now passes the syntax check, but I get this error when running the import job.


  • 19.  RE: Sage 100c Standard v2016. Importing sales orders

    Posted 12-13-2016 11:39
    Make sure you put record logic in to skip the Header line of the file if it has column headers or remove line from the file.


  • 20.  RE: Sage 100c Standard v2016. Importing sales orders

    Posted 12-13-2016 11:45
    YES! Thank you very much @JimWoodhead