Okay, thanks for the clarification ... :-)

/Jens

-----Oprindelig meddelelse-----
Fra: Axapta-Knowledge-Village@yahoogroups.com
[mailto:[EMAIL PROTECTED] vegne af Brandon
George
Sendt: 28. februar 2006 22:12
Til: Axapta-Knowledge-Village@yahoogroups.com
Emne: RE: [Axapta-Knowledge-Village] ZipCodeLookup


Well it would be as is:

12345 - Des Moines - County= SomePlace
12345 - Des Moines - County= SomePlace2

So in the U.S. ZipCodes span multiple Counties, etc. which would cause
12345 to exists twice. This messes up the Address Map, initFromZipCode
that sets this data based on selection made.

Thanks,
Brandon

-----Original Message-----
From: Axapta-Knowledge-Village@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Jens
Strandberg
Sent: Tuesday, February 28, 2006 3:59 PM
To: Axapta-Knowledge-Village@yahoogroups.com
Subject: RE: [Axapta-Knowledge-Village] ZipCodeLookup

Hello Brandon,

Correct me if I'm wrong, but if there are 2 identical Zip Codes then
this
must be a data entry error, right ?

Normally, we would enter the zip code as DK-9530, DE-1234 or SE-56789,
so we
wouldn't get into a duplicate key situation.

Do you know of any countries that "allow" duplicate zip codes ?

/Jens

-----Oprindelig meddelelse-----
Fra: Axapta-Knowledge-Village@yahoogroups.com
[mailto:[EMAIL PROTECTED] vegne af Brandon
George
Sendt: 28. februar 2006 21:56
Til: Axapta-Knowledge-Village@yahoogroups.com
Emne: [Axapta-Knowledge-Village] ZipCodeLookup


Hello Everyone,

 Does anyone know the fix for the ZipCodeLookup form, where when there
are two or more Zip codes with the same zip, then the lookup code for
the following method:

public void closeSelect(str _selectString)
{
    if (callerAddressMap)
    {
        callerAddressMap.AddressMap::initFromZipCode(zipCode);
    }

    super(_selectString);
}

For some reason does not set the City, States, etc. based on the ZipCode
table. This works when One zip code is ready for selection, but when
more than one, then the fields are not filled in. I have ran through
this, and the initFromZipCode() method on the Address Map. 

I have looked at this, and not sure what the best way to fix this is.
Any advice would be most helpful.

Thanks,
Brandon



Sharing the knowledge on Axapta.
Visit www.frappr.com/axapta for axapta friends. 
Yahoo! Groups Links



 




[Non-text portions of this message have been removed]



Sharing the knowledge on Axapta.
Visit www.frappr.com/axapta for axapta friends. 
Yahoo! Groups Links



 






Sharing the knowledge on Axapta.
Visit www.frappr.com/axapta for axapta friends. 
Yahoo! Groups Links



 




[Non-text portions of this message have been removed]



Sharing the knowledge on Axapta.
Visit www.frappr.com/axapta for axapta friends. 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/Axapta-Knowledge-Village/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to