Presentation is loading. Please wait.

Presentation is loading. Please wait.

Microsoft ® Business Solutions–Navision ® 4.0 Development II – C/SIDE Solution Development Day 4.

Similar presentations


Presentation on theme: "Microsoft ® Business Solutions–Navision ® 4.0 Development II – C/SIDE Solution Development Day 4."— Presentation transcript:

1 Microsoft ® Business Solutions–Navision ® 4.0 Development II – C/SIDE Solution Development Day 4

2 Managing Reporting

3 3 of 32 Managing Reporting Properties Triggers Properties Controls Properties Triggers Properties Triggers Controls Triggers Data Items Global Var. Request Form Sections Report Object Description

4 4 of 32 Managing Reporting OnInitReport OnPreReport OnPostReport OnPreDataItem OnAfterGetRecord OnPreSection OnAfterSection OnPostDataItem Report Event Trigger

5 5 of 32 Managing Reporting CurrReport.SKIP CurrReport.BREAK CurrReport.QUIT CurrReport.PAGENO CurrReport.CREATETOTALS CurrReport.TOTALSCAUSEDBY CurrReport.NEWPAGE CurrReport.PREVIEW CurrReport.SHOWOUTPUT Report Functions

6 6 of 32 Managing Reporting ProcessingOnly = YES OnAfterGetRecord Trigger INSERT or MODIFY functions Progress Dialog User Cancel option Processing-Only Reports

7 Managing Reporting Lab

8 8 of 32 Conclusion We have created 3 reports, two normal reports and a processing-only report We are now ready to create statistics for the seminar module

9 Managing Reporting Review Questions

10 10 of 32 Review Report Triggers Report Functions Processing-Only Reports

11 FlowFields

12 12 of 32 FlowFields FlowField SumIndexField FlowFilter

13 13 of 32 FlowFields FlowField Calculation Item No.Posting DateQuantitySu m 7000001.01.01100 7000101.01.0110110 7000101.10.0150160 7000101.25.01-5155 7000102.01.0120175 7000201.01.0150225 Item Ledger Entries Key: Item No., Posting Date SumIndexField: Quantity Item ‘70001’, Inventory DateFilter: ‘01.01.01..01.31.01’ 55 75 155 – 100 = 55 175 – 100 = 75

14 14 of 32 FlowFields Sum Average Exist Count Min Max Lookup

15 Managing Statistics Lab

16 16 of 32 Conclusion We created a statistics form for seminars to sum up the total price in four different time periods We are now ready to add dimensions

17 Managing Statistics Review Questions

18 18 of 32 Review Flow Fields Flow Filters

19 Managing Dimensions

20 20 of 32 Managing Dimensions Dimension –Generic name for analysis categories Dimension Value –Subset within a Dimension Default Dimension –Dimension + Dimension Value for master files Global Dimensions –Two Dimensions that are defined as fields directly in tables Shortcut Dimension –Eight Dimensions that are used in journals and documents (the first two are always Global Dimensions 1 + 2) Budget Dimension –Four Dimensions that are used in budgets

21 21 of 32 Managing Dimensions Dimension TableType of Entry 352 Default DimensionMaster file records 355 Ledger Entry DimensionLedger entries 356 Journal Line DimensionJournal lines 357 Document DimensionDocument headers and lines 358 Production Document DimensionProduction orders, lines and components 359 Posted Document DimensionPosted document headers and lines 361 G/L Budget DimensionBudget entries Where are Dimensions Stored?

22 22 of 32 Managing Dimensions Default Dimensions Posted Document Dimensions Ledger Entry Dimensions Document / Journal Dimensions Dimension Processing

23 23 of 32 Managing Dimensions Ledger Entry Dimensions Update Analysis Entries Analysis View Entries Analysis View Update Analysis Views

24 Dynamic Captions

25 25 of 32 Dynamic Captions CaptionClass Property –Available for fields and controls. –Value automatically transferred to CaptionClassTranslate function in Codeunit 1 –Return value is displayed as caption CaptionClassTranslate Function –CaptionClassTranslate ( ; ). –The parameter is automatically filled by the system and is the Windows Language ID of the active language – contains,

26 26 of 32 Dynamics Captions Area Type Ref 1 Dim2 VAT 1 Global (No) 2 Shortcut (No) 3 Filter Global 4 Filter Short 5 Code (Code) 6 Filter (Code) 1 Excl. VAT 2 Incl. VAT Global 1 Global 2 Short 1 Short 2 Short 3 Short 4 Short 5 Short 6 Short 7 Short 8 Global 1 Global 2 Short 1 Short 2 Short 3 Short 4 Short 5 Short 6 Short 7 Short 8 Get DIMCode Get DIMCode Structure

27 27 of 32 Example: CaptionClass = ‘1,2,3’ CaptionClassTranslate(1033,’1,2,3’) CAPTIONAREA = ‘1’ (Dimension) DIMCAPTIONTYPE = ‘2’ (Code Caption of Shortcut Dimension) DIMCAPTIONREF = ‘3’ (Shortcut Dimension 3)  Codeunit 1 – Documentation Trigger contains description for parameters

28 28 of 32 Example: CaptionClass = ‘1,2,3’ Area Type Ref 1 Dim2 VAT 1 Global (No) 2 Shortcut (No) 3 Filter Global 4 Filter Short 5 Code (Code) 6 Filter (Code) 1 Excl. VAT 2 Incl. VAT Global 1 Global 2 Short 1 Short 2 Short 3 Short 4 Short 5 Short 6 Short 7 Short 8 Global 1 Global 2 Short 1 Short 2 Short 3 Short 4 Short 5 Short 6 Short 7 Short 8 Get DIMCode Get DIMCode Dynamic Captions Short 3

29 Managing Dimensions Lab

30 30 of 32 Conclusion We modified our existing seminar module objects so that dimensions can be defined and carried throughout the module Our seminar module has all the features of a standard Microsoft Navision application We can now add some interfaces for additional features

31 Managing Dimensions Review Questions

32 32 of 32 Review Dimensions Microsoft Navision Developer’s Toolkit


Download ppt "Microsoft ® Business Solutions–Navision ® 4.0 Development II – C/SIDE Solution Development Day 4."

Similar presentations


Ads by Google