Sales Order Form - Add Shipment Fax
paddypower
Member Posts: 98
Hi Everyone,
I am try to pull through the Shipment Fax after the shipment address has been selected.
I amended T36 Sales Header and added a new field for Ship-To Fax and add this to all other occurances:
"Ship-To Fax" := ShipToAddr."Fax No.";
The system errors stating that the cariable Ship-to fax is not a variable. So I look for the other "Ship-to" variables and I cannot find them in any of the Locals or Globals.
Where are these variables set and where I am going wrong adding the fax number to the Sales Orders. As you can tell I am not a very experienced developer.
Cheers
PP
I am try to pull through the Shipment Fax after the shipment address has been selected.
I amended T36 Sales Header and added a new field for Ship-To Fax and add this to all other occurances:
"Ship-To Fax" := ShipToAddr."Fax No.";
The system errors stating that the cariable Ship-to fax is not a variable. So I look for the other "Ship-to" variables and I cannot find them in any of the Locals or Globals.
Where are these variables set and where I am going wrong adding the fax number to the Sales Orders. As you can tell I am not a very experienced developer.
Cheers
PP
0
Comments
-
If I'm understand you - you want a field called "Ship-To Fax" filled on the sales header once a ship-to code has been selected by pulling the Fax# from the Ship-To's table.
First add a field to the Sales Header 50000 - "Ship-to Fax"
the other code should be on the OnValidate of the Ship-To Code field in the sales header TABLE.Ship-to Code - OnValidate() IF "Ship-to Code" <> '' THEN BEGIN ShipToAddr.GET("Sell-to Customer No.","Ship-to Code"); "Ship-to Name" := ShipToAddr.Name; "Ship-to Name 2" := ShipToAddr."Name 2"; "Ship-to Address" := ShipToAddr.Address; "Ship-to Address 2" := ShipToAddr."Address 2"; "Ship-to City" := ShipToAddr.City; "Ship-to ZIP Code" := ShipToAddr."ZIP Code"; //you would add something like below to the ones already there "Ship-to Fax" := ShipToAddr."Ship-to Fax";0 -
Thanks for your reply Harry,
I missed that completely
Thanks for you time!!!
Paddy Power0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K 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
- 327 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