Back to forum list… Back to How Do I?...

Control "Posting Date" in the Order>Shipment>Invoice Process (1 reply)

Arline Welty
2 years ago
Arline Welty 2 years ago

Hello,

I could use a hand please. I can't seem to control the "Posting Date" on the Sage 300 invoice creation if I follow the process Realisable outlines here. The invoices are created, but the posting date is today's date, rather than what I've mapped to the O/E Shipment "Posting Date." Posting date is correct on the shipment and not on the invoice.

During troubleshooting I uncovered more problems that I would like advice on.

Since I can control Invoice posting date in the UI I decided to try 3 connectors: Order, Shipment, and Invoice. 

The order & Shipment are created ok. The invoice is giving me problems. 

1. The first problem is that I can't find the "PO Number" field to map to in the O/E connector. Is this a version issue? 

Realisable.IManWebUI.DLL 4.2.0.0

Product Update: Product Update 5

Config Version: 4.26

DB Version: 4.20

 

2. The second, bigger problem is that I can't create an invoice without getting this error: "Error: Object variable or With block variable not set"

This suggests that something is missing in my mappings but I am not sure what is missing.

Based on Errors.txt I think the problem is related to the shipment line number or invoice line number, both of which I am mapping.

Errors says:

Object variable or With block variable not set
Time='03/16/22 07:10:58' App='IManEngine:3.2.100' ADO-version='10.0' Computer='UDC5TS1'
Method: AccpacOEInvoice.CreateDetailEntry
Number: 91 = &H5B = vbObjectError + 2147221595 = ERRMAP_APP_FIRST + 2147216397
Source: IManEngine
Description: Object variable or With block variable not set
Call Stack: AccpacOEInvoice.CreateDetailEntry(lLineNum=0, bFromMultipleShipments=False) ---------
Env: l=0, m=0, iLnType=1, sTaxClass='', sTaxIncBeforePrice='SH00174156', sShipNum='', bKitAssembly=False, bMiscCharge=False, bNewMiscCharge=False, bTaxIncBeforePrice=False
Call Stack: AccpacOEInvoice.CreateInvoice() ------------------------------------------------------
Env: l=0, p=0, lShipNumInc=0, s='5', sShipNum='SH00174156', sDistTax='', sCustomerNumber='', bCalcTax=True, bDistTax=False, bFromMultipleShipments=False
Call Stack: AccpacOEInvoice.AccpacImport_CreateTransactions() ------------------------------------
Call Stack: TransformAccpac.PerformTransform() ---------------------------------------------------
Call Stack: TransformAccpac.ITransformController_Process() ---------------------------------------
Env: sCompany='', l=1, bSupportsDynamicCompanies=True
Call Stack: TransformCoordinator.RunTransform(sTransformId='SGW-Invoice') ------------------------
Env: eTransformType=90, bWriteSummaries=False, bSummariesHandled=False
Call Stack: TransformCoordinator.RunTransformStream(sParentTransform='SGW-Ship') -----------------
Env: sTransformId='SGW-Invoice', l=0, m=0
Call Stack: TransformCoordinator.RunTransformStream(sParentTransform='MAP-010') ------------------
Env: sTransformId='SGW-Ship', l=0, m=1
Call Stack: TransformCoordinator.RunTransformStream(sParentTransform='XLS-GetNewInvoices') -------
Env: sTransformId='MAP-010', l=0, m=0
Call Stack: TransformCoordinator.RunTransformStream(sParentTransform='') -------------------------
Env: sTransformId='XLS-GetNewInvoices', l=0, m=0
Call Stack: TransformCoordinator.Process() -------------------------------------------------------
Call Stack: IntManEng.Main() ---------------------------------------------------------------------
Env: sCmd='"STRTST_OEINV010"'

 

 

Mapping is shown.

 

 

https://www.realisable.co.uk/wp-content/uploads/2022/03/2022-03-16_9-14-16.png
Arline Welty
2 years ago
Arline Welty 2 years ago

Header mapping also:

 

https://www.realisable.co.uk/wp-content/uploads/2021/09/HeaderMap.png

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