Back to connectors… Back to Sage 300...

"Matching Invoice Detail Could not be found" when trying to create an Invoice from a Shipment (11 replies)

Arline Welty
5 years ago
Arline Welty 5 years ago

Hello,

I'm trying to Insert new Sage 300 invoices based on existing Sage 300 shipments. I think I see 2 issues.

 

  1. I don't see a way to map "Line Type" in the Sage 300 connector- I think this would be a problem for the Misc charges I am inserting.
  2. I am getting an error : Matching Invoice Detail could not be found for [SHINUMBER - SH402580 / SHILINENUM - 2]. 

Maybe these are related? Here is what I see in Errors.txt, and below is a screen snap of my header/detail mapping configuration.

Version:

Assembly Versions:

Realisable.IManWebUI.DLL 4.1.0.0

Product Update: PU1

Config Version: 4.11

DB Version: 4.11

Errors.txt:

Matching Invoice Detail could not be found for [SHINUMBER - SH402580 / SHILINENUM - 2].
Time='12/12/19 12:36:39' App='IManEngine:3.2.100' ADO-version='6.3' Computer='XXXXSERV1'
Method: AccpacOEInvoice.PositionInvoiceDetailLine
Number: 11105 = &H2B61 = vbObjectError + 2147232609 = ERRMAP_APP_FIRST + 2147227411
Source: HuntERR.Check
Description: Matching Invoice Detail could not be found for [SHINUMBER - SH402580 / SHILINENUM - 2].
Call Stack: AccpacOEInvoice.PositionInvoiceDetailLine(sShipNum='SH402580', bThrowErrorOnNotFound=True)
Env: bUsesOELineSeqMatching=True, sItemNo=''
Call Stack: AccpacOEInvoice.CreateDetailEntry(lLineNum=0, bFromMultipleShipments=False) ---------
Env: l=0, m=0, iLnType=1, sTaxClass='', sTaxIncBeforePrice='SH402580', sShipNum='', bKitAssembly=False, bMiscCharge=False, bNewMiscCharge=False, bTaxIncBeforePrice=False
Call Stack: AccpacOEInvoice.CreateInvoice() ------------------------------------------------------
Env: l=0, p=0, lShipNumInc=0, s='5', sShipNum='SH402580', sDistTax='', sCustomerNumber='', bCalcTax=False, bDistTax=False, bFromMultipleShipments=False
Call Stack: AccpacOEInvoice.AccpacImport_CreateTransactions() ------------------------------------
Call Stack: TransformAccpac.PerformTransform() ---------------------------------------------------
Call Stack: TransformAccpac.ITransformController_Process() ---------------------------------------
Env: sCompany='', l=1, bSupportsDynamicCompanies=False
Call Stack: TransformCoordinator.RunTransform(sTransformId='Sage300Invoice01') -------------------
Env: eTransformType=90, bWriteSummaries=False, bSummariesHandled=False
Call Stack: TransformCoordinator.RunTransformStream(sParentTransform='Filter01') -----------------
Env: sTransformId='Sage300Invoice01', l=0, m=0
Call Stack: TransformCoordinator.RunTransformStream(sParentTransform='') -------------------------
Env: sTransformId='Filter01', l=0, m=0
Call Stack: TransformCoordinator.Process() -------------------------------------------------------
Call Stack: IntManEng.Main() ---------------------------------------------------------------------
Env: sCmd='"TSTEDI_OEINV010"'

https://www.realisable.co.uk/wp-content/uploads/2019/12/Shipment.png
Support
5 years ago
Support 5 years ago

Background....

When creating invoices from Shipments, you do not need to map the lines...unless you wish to modify the values of the lines prior to them being invoice.

If new Miscellaneous Lines need to be added, only those needed to be included.

Issue....

The error was occurring as the data had item (or existing) lines where the Shipment Line Number was empty.

Resolution....

To resolve the issue we needed to filter the item/existing lines to leave only the new Miscellaneous Charges (which are to be added to the invoice).

 

Contact

Realisable Software Ltd provides code-free, cost-effective applications integration solutions for SMEs. Our core IMan product is designed to integrate almost any application with a number of Sage solutions and online payment processors.

Looking to purchase IMan, please see our resellers here.

Realisable Software
Ph: +44 (0) 208 123 1017

Copyright © Realisable. All rights reserved.
Realisable is a registered trademark

Close

Request Demo

Realisable Software Ltd provides code-free, cost-effective applications integration solutions for SMEs. Our core IMan product is designed to integrate almost any application with a number of Sage solutions and online payment processors.

Looking to purchase IMan, please see our resellers here.

Realisable Software
Ph: +44 (0) 208 123 1017

Copyright © Realisable. All rights reserved.
Realisable is a registered trademark

Close

Access Downloads

Realisable Software Ltd provides code-free, cost-effective applications integration solutions for SMEs. Our core IMan product is designed to integrate almost any application with a number of Sage solutions and online payment processors.

Looking to purchase IMan, please see our resellers here.

Realisable Software
Ph: +44 (0) 208 123 1017

Copyright © Realisable. All rights reserved.
Realisable is a registered trademark

Close