So I've been getting the error in the title when I try to run a query. I saw another thread where someone mentioned that the issue for them was that their join statement was incorrect. However, I've gone through the query several times and I can't figure out where it's going wrong.
ttsBegin;
select firstOnly forUpdate aHAShippedCartonStaging where aSalesTable.recid == RetailEventNotificationLog.SalesOrder
join aWHSShipmentTable where aWHSShipmentTable.orderNum == aSalestable.salesId
join aWHSContainerTable where aWHSShipmentTable.shipmentId == aWHSContainerTable.shipmentId
join aHAShippedCartonStaging where aHAShippedCartonStaging.cartonId == aWHSContainerTable.containerId;
aHAShippedCartonStaging.shipmentEmailSent = NoYes::No;
aHAShippedCartonStaging.update();
ttsCommit;
*This post is locked for comments
I have the same question (0)

Report
All responses (
Answers (