Visual Integrator import into AP Manual Check Entry - Need to suppress invoices that do not already exist in AP_OpenInvoice

SOLVED

Running Sage 100 v2018 and have a VI import that brings in records into AP Manual Check Entry.  The client wants to suppress any invoices that are not in AP_OpenInvoice and be able to review the Import Log to see those invoices that were skipped.  This way the client can allow the invoices that are matched up to go through and only review the invoices that were not in the import file (manage by exception).  Any help would be greatly appreciated.

Parents
  • 0

    If you know you way around the BOI, you could do this with a little bit of ProvideX and calculated fields.  A simple test in AP Manual Check Entry showed that when a invoice number is entered that is not on file, the Lines object's LastErrorNum property is set to "AP_ManualCheck_NewInvoice.Y" so you could just search the LastErrorNum value for the "NewInvoice" string and if it is found, you could conditionally set the comment text field to something like "SKIP".  Then on the Select tab, add the comment text field and configure it to select when the comment text is not equal to "SKIP".  You could use "NOF", "Not On File", etc as long as you are consistent.  You would also need to make sure you are resetting the LastErrorNum property before setting the invoice number to make sure to clear it from previous line records.

Reply
  • 0

    If you know you way around the BOI, you could do this with a little bit of ProvideX and calculated fields.  A simple test in AP Manual Check Entry showed that when a invoice number is entered that is not on file, the Lines object's LastErrorNum property is set to "AP_ManualCheck_NewInvoice.Y" so you could just search the LastErrorNum value for the "NewInvoice" string and if it is found, you could conditionally set the comment text field to something like "SKIP".  Then on the Select tab, add the comment text field and configure it to select when the comment text is not equal to "SKIP".  You could use "NOF", "Not On File", etc as long as you are consistent.  You would also need to make sure you are resetting the LastErrorNum property before setting the invoice number to make sure to clear it from previous line records.

Children