Sage 100

 View Only
Expand all | Collapse all

I have a client needing to import invoices into AP

Wayne Schulz

Wayne Schulz08-23-2012 09:50

Jane Cavanaugh

Jane Cavanaugh08-23-2012 09:51

Jane Cavanaugh

Jane Cavanaugh08-23-2012 09:53

Therese Logeais

Therese Logeais08-23-2012 10:54

Jeff Schwenk

Jeff Schwenk08-23-2012 11:01

Jeff Schwenk

Jeff Schwenk08-23-2012 14:17

Michael McDonald

Michael McDonald08-23-2012 17:31

Therese Logeais

Therese Logeais08-23-2012 19:54

  • 1.  I have a client needing to import invoices into AP

    Posted 08-23-2012 09:47
    I have a client needing to import invoices into AP Data Entry. The import file has the invoice date but not the due date. So, we need to have the VI job calculate the due date based on the Vendors terms code. I have a sample 3.71 import job by Scott Brady at Sage that shows importing the invoice due date as a calculated date field with this calculation expression: CALC EXP: {AP.INVOICE:INVOICE_DATE}+NUM({AP.TERMS:DAYS_DUE}) I tried translating this to version 4.50 with this expression: {AP_InvoiceHeader.InvoiceDate$}+NUM({AP_TermsCode.DaysBeforeDue}) The check on the expression returns the error: Error #26: Variable type invalid. Any ideas?


  • 2.  RE: I have a client needing to import invoices into AP

    Posted 08-23-2012 09:48
    Shouldn't the terms code default from the vendor and thus calculate it correctly?


  • 3.  RE: I have a client needing to import invoices into AP

    Posted 08-23-2012 09:50
    You don't need to bring in as much data as you used to in 3.71, not even the terms code. Try it without and see what happens.


  • 4.  RE: I have a client needing to import invoices into AP

    Posted 08-23-2012 09:50
    That's what I thought


  • 5.  RE: I have a client needing to import invoices into AP

    Posted 08-23-2012 09:51
    Trying it now. I'll let you know.


  • 6.  RE: I have a client needing to import invoices into AP

    Posted 08-23-2012 09:53
    You are absolutely right. Thanks so much.


  • 7.  RE: I have a client needing to import invoices into AP

    Posted 08-23-2012 09:55
    Similar issue yesterday. https://90minds-com.socialcast.com/messages/13107548?ref=stream Looks like we have two more happy campers.....


  • 8.  RE: I have a client needing to import invoices into AP

    Posted 08-23-2012 10:12
    Sometimes we make it harder than it has to be. Plus, it's hard to forget old habits...


  • 9.  RE: I have a client needing to import invoices into AP

    Posted 08-23-2012 10:19
    Yes, it IS hard to believe that V4.x actually makes some things easier.........


  • 10.  RE: I have a client needing to import invoices into AP

    Posted 08-23-2012 10:24
    I seem to have a problem with making things harder than they need to be. Now I could kick myself for wasting time trying to do something the program will do by itself. I need new programming for my brain!


  • 11.  RE: I have a client needing to import invoices into AP

    Posted 08-23-2012 10:42
    When you are in Import Job Maintenance on the Data tab, you'll notice the fields are different colors. I could be wrong, but this is my understanding: Blue - Required Pink - May be required but not necessarily (may come from a masterfile i.e. Vendor, Customer, etc.) Red - Optional (I think? May serve a purpose, e.g. LineKey?) Green - Default to the most common option, usually Yes/No fields. Black - Although not required, these are usually the fields you want to populate e.g. Amount. (Importing an invoice without an amount is kind of pointless!) Anyone else care to expand?


  • 12.  RE: I have a client needing to import invoices into AP

    Posted 08-23-2012 10:49
      |   view attached
    Pretty much what the BLS KB has. I copied this from a MAS help file some years back. Visual Integrator Import Field Color Meaning This list box displays fields from the data file selected on the Configuration tab. The fields are color-coded as follows: Fields that appear in blue are required fields. Fields that appear in cyan are required fields that have dictionary default values assigned to them as a starting point for a new job. Fields that appear in magenta are conditionally required fields and are validated at the time the record is written. These fields cannot be validated during a test import. Fields that appear in black are not validated; however, these fields may be required (for example, numeric fields for quantity or price). Read-only fields will be displayed in red in Import Job Maintenance All required fields must be selected for import. User-defined fields are listed at the bottom of this list box with a UDF_ prefix. Attached is a screen shot from the MAS help files......


  • 13.  RE: I have a client needing to import invoices into AP

    Posted 08-23-2012 10:54
    Thanks @JeffSchwenk - I was winging it...


  • 14.  RE: I have a client needing to import invoices into AP

    Posted 08-23-2012 11:01
    Flying like a pro!


  • 15.  RE: I have a client needing to import invoices into AP

    Posted 08-23-2012 12:23
    @JaneCavanaugh Yesterday, right in front of the client's own eyes, I was able to set up the AR invoice import VI script in SAGE ERP 100 version 4.50 PU#4 with fantastic help from @ThereseLogeais and @JeffSchwenk. Yea! Today back in the office, I am struggling to accomplish the same import in AP. If you would care to share your working AP Invoice import VI job, I'll send back my working AR Invoice import job to you! My e-mail is mmcd@72ho.com. Thanks!


  • 16.  RE: I have a client needing to import invoices into AP

    Posted 08-23-2012 12:27
    I think that's was @DianaLaughner 's doing yesterday but what kind of issues are you having with the AP import?


  • 17.  RE: I have a client needing to import invoices into AP

    Posted 08-23-2012 12:39
    I NEVER set up the import in front of the clients eyes!!! Always best to wait a couple days before delivering. Client tends to equate time with value. If they see that you put it together in 45 minutes or so, they might not want to pay the $500 - $1000 of VALUE that it is worth to them. And they NEVER see you sweating bullets like you are today trying to get the same one to run........ I seem to run a 4/1 ratio, 4 frustratons for every EASY one. And as you point out, even the easy ones become hard under certain circumstances..........


  • 18.  RE: I have a client needing to import invoices into AP

    Posted 08-23-2012 12:41
    AP can be strange because of sales & use tax, job cost, divisions, discounts, import file format or other quirky items. Post up the VI and so we can take a look.


  • 19.  RE: I have a client needing to import invoices into AP

    Posted 08-23-2012 12:53
    @ThereseLogeais I keep getting the error: ""L record AddLine() Failed. Missing or Invalid Header"" even though I followed SAGE's instructions to remove all items in the Reords tab. I am dealing with Batch Entry in AP. No Job Cost, no Divisons, No discounts required. I will post the VI job a little later today.


  • 20.  RE: I have a client needing to import invoices into AP

    Posted 08-23-2012 13:13
    @MichaelMcDonald are you importing the batch number?


  • 21.  RE: I have a client needing to import invoices into AP

    Posted 08-23-2012 13:15
    @Michael - I emailed you a very basic import. Wayne also started a place for all of us to share our imports and as soon a I find where that is, I will upload the import there also.


  • 22.  RE: I have a client needing to import invoices into AP

    Posted 08-23-2012 13:15
    (And I have to admit I think of the Doobie Brothers. every time I see your name. I had a former co-worker who LOVED Michael McDonald...)


  • 23.  RE: I have a client needing to import invoices into AP

    Posted 08-23-2012 13:58
    seems like AP imports are the rage right now. Just did a job to import manual checks because the parent company is now paying all invoices on behalf of the child company who uses MAS. (excuse me..Sage 100) The system doesn't check to make sure there is a vaild invoice being paid. It just imports the transaction. so if the parent company doesn't have the invoice number exactly right the import doesn't catch it. It needs a perform logic statement.


  • 24.  RE: I have a client needing to import invoices into AP

    Posted 08-23-2012 14:17
    Access front end?


  • 25.  RE: I have a client needing to import invoices into AP

    Posted 08-23-2012 14:25
    a perform statement that checks for valid invoice numbers for manual checks would be the preferred way but, pre-processing the file is what they are now doing. Trying to get away from having to do that. SWK gave me a quote for some lines of logic in a custom perform statement. The approach would be simialr to a statement that Alnoor created to look for historical invoices when bringing in new invoices.


  • 26.  RE: I have a client needing to import invoices into AP

    Posted 08-23-2012 17:23
      |   view attached
    Here are the errors I get when I ""test"" the import;


  • 27.  RE: I have a client needing to import invoices into AP

    Posted 08-23-2012 17:31
    Here is the VI job to import AP Invoices


  • 28.  RE: I have a client needing to import invoices into AP

    Posted 08-23-2012 17:44
    Take the terms code out of the data tab for beginners. Also, import the account key into a temp field and then calc the account key using the temp field (are your actual account numbers longer than 9 characters?) No matter the import, I always import the account #' into a temp field, then calc the account key. I have also found that testing isn't always a good way of ""testing"" as it gives false positives. Do it for real to see what the errors are. If after deleting the terms code, you are still having difficulty, I would turn off batch processing and retest without the batch line. Also, why are your run time assigning the batch number? Too slow. Just hard code the batch number (e.g. 100) and use it. If you are doing multiple batches at once, use the NEXT function to assign the batch. Way easier. My money is on the terms code and the account key. Keep us posted.


  • 29.  RE: I have a client needing to import invoices into AP

    Posted 08-23-2012 19:27
    You could also delete the invoice due date and the invoice discount due date....


  • 30.  RE: I have a client needing to import invoices into AP

    Posted 08-23-2012 19:39
    Good point! Rule of thumb is that now you only have to import fields that you actually enter manually. If you don't override the default values, leave the field out.


  • 31.  RE: I have a client needing to import invoices into AP

    Posted 08-23-2012 19:46
    Michael - I just sent another ap invoice import that I used today without problem. It is from version 4.30 but should work with 4.50 since the fields between 4.30 and 4.50 AP didn't change (at least I don't think they changed).


  • 32.  RE: I have a client needing to import invoices into AP

    Posted 08-23-2012 19:54
    It's the less is more, I believe...


  • 33.  RE: I have a client needing to import invoices into AP

    Posted 08-06-2013 09:25
    I'm looking for the syntax to actually calc a date field on a VI import in v2013. Need to calc the Invoice Due Date via Invoice Date + 10


  • 34.  RE: I have a client needing to import invoices into AP

    Posted 08-06-2013 09:27
    Why not just create a terms code of invoice date + 10 and assign that terms code?


  • 35.  RE: I have a client needing to import invoices into AP

    Posted 08-06-2013 16:46
    @BrettZimmerman - Use the JUL function to convert the invoice date to a Julian date. Add the 10 to the Julian date and then convert back to the due date.