What could be the case when I try to load an addre...
# suitescript
s
What could be the case when I try to load an address record that is saved in the backend I get a Record dosen't exist. Other Addresses work perfectly
b
not really sure how you are loading a subrecord
but addresses have 2 ids, an internal id and address internal id
27999 is the address internal id
s
I'm just doing a
var addressRecord = record.load({
      
type: "address",
      
id: addressid,
    
});
90% of the saved addresses work perfectly but some other addresses just fail
b
use the internal id of the address instead of the address internal id
s
Ok I get that the thing is that when I od a getValue from a addressbook list I will get this addressinternalid isn't that correct?
b
most visual way is to do an entity search and compare the internal id and address internal id from the address join
s
Well the real question is why the different internal Id's I guess