Problem creating new customers (Bill-to / Pay-from codes)

Smashed_Pumpkin
Member Posts: 47
Hi all, wonder if someone could help with this.
When you create a new customer and enter the Bill-to code, the Pay-from code that is assigned to that Bill-to customer does not get entered automatically in the Pay-from field on the new customer card. Is there a way to do this? Many thanks!
When you create a new customer and enter the Bill-to code, the Pay-from code that is assigned to that Bill-to customer does not get entered automatically in the Pay-from field on the new customer card. Is there a way to do this? Many thanks!
0
Comments
-
I'm curious, What is the "Pay From Code" field ??? I had not heard of this field, so I checked in GB 3.60 and GB 3.70 and i cannot find any reference to this field on the standard Customer card ???
What version are you using ??? Is this some kind of custom field on your customer table ??
DeanRemember: Keep it simple0 -
I had a feeling we'd added that field ourselves
It's used to deal with 'payment centres', a sort of centralised office where all the cheques for a number of different customers come from. The invoices still go to the Bill-to code address, but the actual payments come from the Pay-from code address (if that makes any sense!).0 -
It's used to deal with 'payment centres', a sort of centralised office where all the cheques for a number of different customers come from. The invoices still go to the Bill-to code address, but the actual payments come from the Pay-from code address (if that makes any sense!).
Yes, Perfect sense.
Try something like this:
Create a new variable:
Billto Rec 18
"Bill-to Code" :On Validate Trigger()
Billto.get("Bill-to Customer No.");
"Pay From":=Billto."Pay From";Remember: Keep it simple0 -
Thank you very much Dean, that worked a treat0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions