By using this website, you agree to our Terms of Use (click here)
I am trying to create a GI to calculate CAT tax. I am struggling to get the ship to state into my query. Does anyone know for sure what data class it is in (I believe it's in SOShippingAddress) and how I link this up to the ARInvoice or ARTran?
Hi Kristin,
Try joining from ARTran to ARInvoice on ARTran.TranType=ARInvoice.DocType and ARTran.RefNbr=ARInvoice.RefNbr.
Then join from ARTran to SOShipment on ARTran.SOShipmentNbr=SOShipment.ShipmentNbr.
Then join from SOShipment to SOAddress on SOShipment.ShipAddressID=SOAddress.AddressID.

That should allow you to get the State like this:

