There are probably a few ways of adressing this issue, however this is
one way I have done it in the past.
The assumption is that if the Purchase Order address is different to
the cheque address, then setup an alternate address for the Purchase
Order (type Delivery). It also assumes there is only one address for
each type.
If the address is the same just setup one address on the vendor.
Then modify the vendAddress method on the VendPurchOrderJour to look
like below.
You could also add similar methods for Phone, fax, email details etc
to be pulled from the alternate address of type delivery.
Regards
Phil
Addressing vendAddress;
;
if
(Address::Find(VendTable::find(this.orderAccount).tableId,Vendtable::find(this.orderAccount).recID,
AddressType::Delivery).Address)
return
Address::Find(VendTable::find(this.orderAccount).tableId,Vendtable::find(this.orderAccount).recID,
AddressType::Delivery).Address;
else return VendTable::find(this.orderAccount).address;
}
--- In [email protected], "Joel" <[EMAIL PROTECTED]>
wrote:
>
> Some of our vendors have an address to where we send purchase ordes
> and a different address to where we send payments. A consultant told
> me that the only way that we can have two different addresses is to
> create two different vendors, one will be used for P.O. and the other
> to send payments, both vendors are tied together. To me this doesn't
> make much sense. There is a field where you can specify alternate
> addresses but they are for invoices and returned items, there is no
> choice for an alternate address that would print on a check.
> Apparantely the main address always prints on the check. Is there
> another good way of doing it? Thank you.
>
SPONSORED LINKS
| Computer part | Programming languages | Microsoft axapta |
| Support exchange |
YAHOO! GROUPS LINKS
- Visit your group "development-axapta" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

