Tuesday, February 11, 2014

Dynamics GP - Report Writer Function - RW_PMAddrIDInfo

This will allow you to get address data from a vendor

User Defined function - System - RW_PMAddrIDInfo()

The parameters are:

in 'Vendor ID' IN_Vendor_ID;
in 'Address Code' IN_Address_Code;
in integer IN_Field;

{
IN_Field should use the following values:-
1 = Contact Name
2 = Address 1
3 = Address 2
4 = Address 3
5 = City
6 = State
7 = Zip
8 = Country
9 = Phone 1
10 = Phone 2
11 = Phone 3
12 = Fax
13 = Country Code
}



Original Post


Working example:

rw_pmaddridinfo(POR_receipt_temp.vendorid "RETURN" 2)

will return the address line 1 of the current vendor in address id "RETURN"

No comments:

Post a Comment