Quantcast
Channel: Microsoft Dynamics GP Forum - Recent Threads
Viewing all articles
Browse latest Browse all 45450

RE: Adding two Company addresses to an invoice

$
0
0

Hi Steve,

Here's one suggestion. Use the RW_RMAddrIDInfo user-defined function to print whatever you need. You pass in the customer ID, Address ID, and then an integer that represents which field you want to print.

For example, I created an Address ID 'ACH' and created a calculated field to pull the Contact Name on to the SOP Invoice. Here's what the completed RW calculation looks like:

FUNCTION_SCRIPT( RW_RMAddrIDInfo SOP_Document_HDR_TEMP.Customer Number "ACH" 1 )

I hard-coded the Address ID 'ACH'. Here's the integer values for the fields:

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

Is this what you wanted?

Kind regards,

Leslie


Viewing all articles
Browse latest Browse all 45450

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>