Hi, I've 2 Global tables, PODetails and SAP_Import. I need to match PO number in the PODetails table with SAP_Import table and find the corresponding Section no from SAP_Import table, and update the same in the PODetails table. I used this query,
"Table.query("UPDATE PODetails SET PODetails.Section = SAP_Import.Section FROM PODetails INNER JOIN SAP_Import ON PODetails.PO = SAP_Import.PO"); "
But I'm getting this below error, The columns are same in both table.
syntax error, unexpected identifier PODetails, expecting end of code. Make sure commas, parentheses, etc. are placed correctly
Reference to SAP_Import.Section could not be resolved to a valid column. Parsing halted.
Could not resolve column references in query: UPDATE PODetails SET PODetails.Section = SAP_Import.Section FROM PODetails INNER JOIN SAP_Import ON PODetails.PO = SAP_Import.PO