Stylesheet - sales header and sales line - calculation total
thomaschr
Member Posts: 3
I am creatinng a order document - using sales header and sales lines.
The amount appears for each line:
1 - 12
2 - 24
How ever how do I calculate the total:
Total = 36
The amount appears for each line:
1 - 12
2 - 24
How ever how do I calculate the total:
Total = 36
0
Comments
-
Either use CALCFIELDS on fields Amount and Amount Including VAT in Sales Header or loop through the records in Sales Line an add the field Line Amount to a decimal variable.0
-
hi again,
Sorry i needed to be more specific.
I use the Nav stylesheet tool.
I select "sales order header" and "sales order"
Makes both tables ( fields) available in MS Word using the mail merge.
First I select all the fields from the sales order header - no worries.
Then I select all the fields from the lines - no worries.
The problem starts when I need to do the TOTAL amount of the sales order - as I ( inside Word) need to calculate the Sum for all the lines.
Is that possible - how?0 -
If the order is released then the sales header Amount field should be filled
else,
In word, if it creates a table you click
Table->Formula (create your formula) like
1
2
3
4
=SUM(ABOVE)
10
Sorry ( i don't have stylesheets ) but this is the methods I use.0 -
thomaschr wrote:hi again,
Sorry i needed to be more specific.
I use the Nav stylesheet tool.
I select "sales order header" and "sales order"
Makes both tables ( fields) available in MS Word using the mail merge.
First I select all the fields from the sales order header - no worries.
Then I select all the fields from the lines - no worries.
The problem starts when I need to do the TOTAL amount of the sales order - as I ( inside Word) need to calculate the Sum for all the lines.
Is that possible - how?
Easiest way is to have flowfield on header which will calc the sum from the lines and than you need nothing more... ;-) if the field is not there, you can add it easily...0 -
With the updated style sheet fob you can use some totals and other calculated fields.0
Categories
- All Categories
- 75 General
- 75 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
- 610 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 253 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions
