Mike Robbins
10/31/2023, 3:55 PMtransaction
view, the billingaddress
field is NULL
. Where can we query these address details? In the UI, the "Bill To Select" field is empty, but the Bill To textarea box has an address in it. Any thoughts?jen
10/31/2023, 4:31 PMbillingaddress
gives me the ID of the address record in NS (numeric internal id)Mike Robbins
10/31/2023, 4:40 PMbilladdress
field. In most situations, the "Bill To Select" field contains the label for an existing address on the customer, or the word "- Custom -". In these situations, the billingaddress
field has a value. In this situation, the "Bill To Select" field in empty in the UI and null
in SuiteQL, even though there is an address displayed in the billaddress
field. We have several examples of this for both Invoices and SOs.Watz
10/31/2023, 5:23 PMSELECT
tam.*,
tama.*
FROM
transaction t
left join transactionAddressMapping tam on tam.transaction = t.id
left join transactionAddressMappingAddress tama on tama.nkey = tam.address
where t.id in(8852980, 8853804)
Mike Robbins
10/31/2023, 6:03 PMtransactionAddressMapping
, I expect to get two results, one for shipping and one for billing. In these cases, only the shipping address record is returned.Watz
10/31/2023, 6:04 PMWatz
10/31/2023, 6:14 PMnlapiSetFieldValue('billaddresslist','')
nlapiSetFieldValue('billaddress','this is my address')
I get the same result as you do. Only a shipping address in transactionAddressMapping
Mike Robbins
10/31/2023, 7:38 PM