Issue/behavior
We have noticed that some of the records in table LogisticsPostalAddress column Address stores actually %1 instead of Country/Region.
If we review Address column using table browser, we might not able to notice this behavior due to PostLoad method on LogisticsPostalAddress table.
To review this, either comment method below in PostLoad method or review using SSMS.
DirUtility::replaceAddressToken(this);
What can be the issue due to this behavior?
1. When we are using this field for the integration, this will pass on %1 to other system.
2. To Print address on reports, if we are using bulk operation (Insert_Recordset) instead of row by row (while select) operation, it will show %1 on report/print.
Can we handle this behavior without code? - Yes
When we have selected Expand option in address format – DAX
will store %1 instead of Country/Region in Address column of LogisticsPostalAddress address.
BUT
If we have not selected Expand option in address format – DAX will
store Country/Region Code instead of %1. i.e. CA instead of
CANADA, so wherever we refer this field it will pass on CA instead of CANADA
No comments:
Post a Comment