GLBatchID already exsits.

This error can occur if the Purchase Order has already been fully received but was then re-opened, adjusted & closed again.

Error Text: ConnectWise 'CreateBatch' returned an error: GLBatchID already exists.

Solution

Information you'll need..

1. Invoice number/Purchase order number & relating company name from relevant invoice/purchase order in ConnectWise that has caused the error.

Steps to take

From the Bills section in Xero follow these steps:

1.1 Search for the Purchase Order number that has caused the error.

1.2 Click into Bill Options & click on Void


From the Purchase Order screen in ConnectWise follow these steps:

2.1 In ConnectWise un-receive the PO in the Purchase tab of the Purchase Order by un-ticking the check box, then click Save


2.2 In the Products tab of the Purchase order un-receive all the products by clicking into them individually (changing them back to Open). Un-tick the check box, delete the Packing Slip, delete the Received Qty & Save


3.1 Go into the ConnectWise Accounting Interface screen & click on the Open Batches tab

3.2 Enter the Purchase Order number with asterisks on both sides & click Search

3.3 If the PO Batch appears click Delete


4.1 Go back into the Purchase Order screen, refresh the screen by clicking Search & then re-receive all products in the Products tab, closing the Purchase Order


5.1 Re-sync the PO to Xero

6.1 From Xero look up the Purchase Order number in Awaiting Payment in Xero. It may show now with a .1 on the end of the Purchase Order eg. PO6681.1. Xero generates this automatically but it doesn't have any effect on the outcome.