I'm reading the Sales Orders, how can I access shi...
# suiteql
s
I'm reading the Sales Orders, how can I access shipmethod ?
r
I think in some places, it's shipvia instead. try that?
s
It's not shipvia 😞 It used to be shipmethod on the mainline = 'T'
t
@Simon Does this work for you?
Copy code
SELECT
	Transaction.ShipCarrier,
	BUILTIN.DF( TransactionLine.Item ) AS ShipMethod
FROM
	Transaction
	INNER JOIN TransactionLine ON
		( TransactionLine.Transaction = Transaction.ID )
		AND ( TransactionLine.ItemType = 'ShipItem' )	
WHERE
	( Transaction.Type = 'SalesOrd' )
	AND ( Transaction.ID = 9999999 )
s
Unfortunately it's not working. I used to do SELECT ShipMethod, BUILTIN.DF( ShipMethod) FROM TransactionLine WHERE Transaction = 61044500 AND MainLine = 'T' but it's not working anymore I guess Netsuite move the ShipMethod somewhere else
I found i
select shippingmethod from transaction inner join transactionshipment on transactionshipment.doc = transaction.id where transaction.id = 61044500