smoke raven
05/07/2021, 7:20 PMbillingaddress
. . . using the schema/record/connect/analytics browser pages i can't quite correlate how/where it relates . . . in MS SQL there would be a FK and you could see it pointing to address or billingaddress table . . . in this case those tables do not exist (there are customeraddressbook etc) . . . if i use the BUILTIN-DF i can get related data but i can't figure out where it's cominng from and how the docs would tell me that
so, how do i figure out where billingaddress "points"? thanks muchtdietrich
05/07/2021, 8:00 PMSELECT
Transaction.TranID,
BillToAddress.Addressee AS BillToAddressee,
BillToAddress.Addr1 As BillToAddress1,
BillToAddress.Addr2 As BillToAddress2,
BillToAddress.Addr3 As BillToAddress3,
BillToAddress.City As BillToCity,
BillToAddress.State As BillToState,
BillToAddress.Zip As BillToZip,
BillToAddress.Country As BillToCountry,
BillToAddress.Attention As BillToAttention
FROM
Transaction
INNER JOIN EntityAddress AS BillToAddress ON
( BillToAddress.nkey = Transaction.BillingAddress )
WHERE
( Transaction.ID = 52284082 )
smoke raven
05/07/2021, 9:01 PMtdietrich
05/07/2021, 9:02 PMsmoke raven
05/07/2021, 9:52 PMnkey
is the foreign key for addresses and id
for most everything else?tdietrich
05/08/2021, 1:00 AMsmoke raven
05/10/2021, 9:31 PMdesc <table>
and fetch next 10 rows only
not working . . . is that Netsuite and/or the driver you think?smoke raven
05/11/2021, 2:57 PMtdietrich
05/11/2021, 3:27 PM