VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0)...

87
VPVI-29: Invoice Customization Tips and Tricks Alexander Ng, Deltek

Transcript of VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0)...

Page 1: VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0) » Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013

VPVI-29:Invoice Customization Tips and Tricks

Alexander Ng, Deltek

Page 2: VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0) » Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013

Agenda

Page 3: VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0) » Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013

CONFIDENTIAL © Deltek, Inc. All Rights Reserved. 3

1. Software

2. Database

3. Files

4. Invoice Project

5. Main Invoice Structure

Agenda

Page 4: VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0) » Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013

CONFIDENTIAL © Deltek, Inc. All Rights Reserved. 4

6. Invoice Customization Preparation

7. Invoice Customizations 1-4

8. Report Loading

9. More Tips and Tricks

10. Questions & Contact

Agenda

Page 5: VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0) » Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013

1. Software

Page 6: VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0) » Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013

CONFIDENTIAL © Deltek, Inc. All Rights Reserved. 6

» Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0)

» Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013

» aka BIDS for Visual Studio 2013

» aka Business Intelligence for Visual Studio 2013

» Microsoft SQL Server Management Studio 20XX

Software

Page 7: VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0) » Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013

2. Database

Page 8: VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0) » Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013

CONFIDENTIAL © Deltek, Inc. All Rights Reserved. 8

» Invoice tables: bill*

» billInvMaster: Main invoice table. Contains a record per WBS (Work Breakdown

Structure) with data to display, including parent levels.

» billFeeDetail: Invoice fee data

» billLabDetail: Invoice labor data

» billConDetail: Invoice consultant data

» billExpDetail: Invoice expense data

» billUnitDetail: Invoice unit data

Database

Page 9: VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0) » Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013

CONFIDENTIAL © Deltek, Inc. All Rights Reserved. 9

» Invoice tables (continued): bill*

» billAddDetail: Invoice add-on data

» billLimDetail: Invoice limit data

» billTaxDetail: Invoice tax data

» billRetDetail: Invoice retainage data

» billInvSums: Invoice summary data (watchout for arraytype)

» billARDetail: Invoice AR detail

Database

Page 10: VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0) » Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013

CONFIDENTIAL © Deltek, Inc. All Rights Reserved. 10

» Invoice tables (continued): bill*

» billBTDDetail: Invoice billed-to-date detail

Database

Page 11: VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0) » Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013

CONFIDENTIAL © Deltek, Inc. All Rights Reserved. 11

» Keys:

» MainWBS1

» Invoice

Database

Page 12: VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0) » Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013

CONFIDENTIAL © Deltek, Inc. All Rights Reserved. 12

Examples:

SELECT * FROM billInvMaster WHERE MainWBS1 = '00000an.00' and Invoice = '<Draft>'

SELECT * FROM billLabDetail WHERE MainWBS1 = '00000an.00' and Invoice = '<Draft>'

SELECT * FROM billInvSums WHERE MainWBS1 = '00000an.00' and Invoice = '<Draft>' and

ArrayType = 'I'

Database

Page 13: VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0) » Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013

3. Files

Page 14: VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0) » Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013

CONFIDENTIAL © Deltek, Inc. All Rights Reserved. 14

» Create a Dev folder (or any folder name you choose) on your local machine (development

machine)

» Vision on premise customers, make copies of the standard invoice files from your Vision

Web/Application into your development machine’s Dev folder. Invoice files location:

C:\Program Files\Deltek\Vision\Reports\Standard\Invoice

» Also make a copy of the DefaultDataSource.rds file into your development machine’s Dev

folder. The DefaultDataSource.rds file is one folder up from where the invoice files are:

C:\Program Files\Deltek\Vision\Reports\Standard\DefaultDataSource.rds

Files

Page 15: VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0) » Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013

CONFIDENTIAL © Deltek, Inc. All Rights Reserved. 15

» Vantagepoint 2.0 Cloud customers: Get standard invoice files (RDLs) from GitHub or reach

out to the Deltek Custom Team to get latest standard invoice files.

» Vantagepoint 1.0 or Vision Cloud customers: Reach out to the Deltek Custom Team to get

latest standard invoice files.

Files

Page 16: VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0) » Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013

4. Invoice Project

Page 17: VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0) » Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013

CONFIDENTIAL © Deltek, Inc. All Rights Reserved. 17

» In your development machine, open Visual Studio 2013

Invoice Project

Page 18: VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0) » Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013

CONFIDENTIAL © Deltek, Inc. All Rights Reserved. 18

» Click on File/Open Project…

Invoice Project

Page 19: VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0) » Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013

CONFIDENTIAL © Deltek, Inc. All Rights Reserved. 19

» Browse to the folder where the invoice files are and click Open

Invoice Project

Page 20: VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0) » Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013

CONFIDENTIAL © Deltek, Inc. All Rights Reserved. 20

» Invoice Project

Invoice Project

Page 21: VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0) » Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013

CONFIDENTIAL © Deltek, Inc. All Rights Reserved. 21

» Relink data source

» Right click on DefaultDataSource.rds and select “Delete”

» Confirm DefaultDataSource.rds file deletion.

Invoice Project

Page 22: VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0) » Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013

CONFIDENTIAL © Deltek, Inc. All Rights Reserved. 22

» Relink data source (continued)

» Right click on “Shared Data Sources” folder and select Add\Existing

Invoice Project

Page 23: VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0) » Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013

CONFIDENTIAL © Deltek, Inc. All Rights Reserved. 23

» Relink data source (continued)

» Browse\Select DefaultDataSource.rds from the folder where the invoice files are and

click Add

Invoice Project

Page 24: VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0) » Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013

CONFIDENTIAL © Deltek, Inc. All Rights Reserved. 24

» Relink data source (continued)

» Open DefaultDataSource.rds and setup

your connection string

accordingly

Invoice Project

Page 25: VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0) » Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013

5. Main Invoice Structure

Page 26: VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0) » Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013

CONFIDENTIAL © Deltek, Inc. All Rights Reserved. 26

» Main Invoice = Invoice.rdl, open Invoice.rdl

Main Invoice Structure

Page 27: VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0) » Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013

CONFIDENTIAL © Deltek, Inc. All Rights Reserved. 27

» Invoice main groupings: Invoice, billWBS1, billWBS2, billWBS3

Main Invoice Structure

Page 28: VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0) » Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013

CONFIDENTIAL © Deltek, Inc. All Rights Reserved. 28

» Highlight grouping or follow grouping brackets to identify groupings within the design

Main Invoice Structure

Page 29: VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0) » Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013

CONFIDENTIAL © Deltek, Inc. All Rights Reserved. 29

» Invoice headers

Main Invoice Structure

Page 30: VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0) » Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013

CONFIDENTIAL © Deltek, Inc. All Rights Reserved. 30

» Special detail icon for detail section

Main Invoice Structure

Page 31: VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0) » Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013

CONFIDENTIAL © Deltek, Inc. All Rights Reserved. 31

» Invoice footers

Main Invoice Structure

Page 32: VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0) » Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013

CONFIDENTIAL © Deltek, Inc. All Rights Reserved. 32

» Billing Backup sub-report location

Main Invoice Structure

Page 33: VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0) » Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013

6. Invoice Customization Preparation

Page 34: VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0) » Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013

CONFIDENTIAL © Deltek, Inc. All Rights Reserved. 34

» Make a copy of Invoice.rdl

» Rename copy of Invoice.rdl to InvoiceInsight.rdl

Invoice Customization Preparation

Page 35: VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0) » Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013

CONFIDENTIAL © Deltek, Inc. All Rights Reserved. 35

» Right click Invoice.rdl and select Copy

Invoice Customization Preparation

Page 36: VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0) » Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013

CONFIDENTIAL © Deltek, Inc. All Rights Reserved. 36

» Click on EDIT/Paste

Invoice Customization Preparation

Page 37: VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0) » Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013

CONFIDENTIAL © Deltek, Inc. All Rights Reserved. 37

» Right click/Rename

Invoice Customization Preparation

Page 38: VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0) » Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013

CONFIDENTIAL © Deltek, Inc. All Rights Reserved. 38

» InvoiceInsight.rdl

Invoice Customization Preparation

Page 39: VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0) » Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013

7-1. Invoice Customization 1

Page 40: VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0) » Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013

CONFIDENTIAL © Deltek, Inc. All Rights Reserved. 40

» REQUIREMENT: Project No./Name modification

» Hide Project No. (WBS1)

» Show Project Name in navy blue font color

Invoice Customization 1

Page 41: VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0) » Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013

CONFIDENTIAL © Deltek, Inc. All Rights Reserved. 41

» Locate WBS1 grouping, select BillWBS1 textbox and hide it

Invoice Customization 1

Page 42: VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0) » Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013

CONFIDENTIAL © Deltek, Inc. All Rights Reserved. 42

» Tip: change background color to Red (or any color of your preference)

Invoice Customization 1

Page 43: VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0) » Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013

CONFIDENTIAL © Deltek, Inc. All Rights Reserved. 43

» Select and change each possible field that displays the Project Name and change font color

to Navy

Invoice Customization 1

Page 44: VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0) » Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013

CONFIDENTIAL © Deltek, Inc. All Rights Reserved. 44

» Preview

Invoice Customization 1

Page 45: VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0) » Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013

7-2. Invoice Customization 2

Page 46: VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0) » Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013

CONFIDENTIAL © Deltek, Inc. All Rights Reserved. 46

» REQUIREMENT: Page header modification

» Move Invoice Number below Project Number

» Add Invoice Date below the moved Invoice Number

Invoice Customization 2

Page 47: VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0) » Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013

CONFIDENTIAL © Deltek, Inc. All Rights Reserved. 47

» Select Page Header via Right Click/Select/Page Header or Properties

Invoice Customization 2

Page 48: VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0) » Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013

CONFIDENTIAL © Deltek, Inc. All Rights Reserved. 48

» Change Height property to 1 inch, to give yourself room to work

Invoice Customization 2

Page 49: VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0) » Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013

CONFIDENTIAL © Deltek, Inc. All Rights Reserved. 49

» Move Page Header Bottom Line down to make room and move both Invoice related

textboxes down

Invoice Customization 2

Page 50: VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0) » Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013

CONFIDENTIAL © Deltek, Inc. All Rights Reserved. 50

» Add two new Textboxes below Invoice to display the Invoice Date and re-adjust Page

Header Bottom Line

» Invoice Date field expression

Invoice Customization 2

Page 51: VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0) » Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013

CONFIDENTIAL © Deltek, Inc. All Rights Reserved. 51

» Invoice Date format setting:

Invoice Customization 2

Page 52: VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0) » Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013

CONFIDENTIAL © Deltek, Inc. All Rights Reserved. 52

» Resize Page Header back using cursor

Invoice Customization 2

Page 53: VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0) » Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013

CONFIDENTIAL © Deltek, Inc. All Rights Reserved. 53

» Trick:

» Rename page_lblInvoice to

page_lblInvoiceCust and

page_Invoice to

page_InvoiceCust

» Why? These fields are moved by

the Report Architecture on the

fly.

Invoice Customization 2

Page 54: VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0) » Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013

CONFIDENTIAL © Deltek, Inc. All Rights Reserved. 54

» Preview – Page 2 of invoice

Invoice Customization 2

Page 55: VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0) » Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013

7-3. Invoice Customization 3

Page 56: VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0) » Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013

CONFIDENTIAL © Deltek, Inc. All Rights Reserved. 56

» REQUIREMENT: Invoice header modification

» Add a textbox in the header that shows the Total Compensation amount

» Change its font size to 12 pts. and bold it

Invoice Customization 3

Page 57: VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0) » Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013

CONFIDENTIAL © Deltek, Inc. All Rights Reserved. 57

» Copy/rename InvoiceHeader.rdl to InvoiceInsightHeader.rdl

Invoice Customization 3

Tip: use naming

convention that will allow

you to easily spot all the

files you have

customized

Page 58: VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0) » Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013

CONFIDENTIAL © Deltek, Inc. All Rights Reserved. 58

» Open InvoiceInsightHeader.rdl add two textboxes from the Toolbox window to display Total

Compensation, adjust font and display format accordingly

Invoice Customization 3

Page 59: VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0) » Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013

CONFIDENTIAL © Deltek, Inc. All Rights Reserved. 59

» Open back InvoiceInsight.rdl and highlight the InvoiceHeader subreport

Invoice Customization 3

Page 60: VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0) » Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013

CONFIDENTIAL © Deltek, Inc. All Rights Reserved. 60

» Under its Properties, change the ReportName to point to your customized

InvoiceInsightHeader.rdl

Invoice Customization 3

Page 61: VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0) » Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013

CONFIDENTIAL © Deltek, Inc. All Rights Reserved. 61

» Tip: you should not be

changing the Name property

of any subreport

Invoice Customization 3

Page 62: VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0) » Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013

CONFIDENTIAL © Deltek, Inc. All Rights Reserved. 62

» Preview

Invoice Customization 3

Page 63: VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0) » Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013

7-4. Invoice Customization 4

Page 64: VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0) » Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013

CONFIDENTIAL © Deltek, Inc. All Rights Reserved. 64

» REQUIREMENT: Invoice labor modification

» Change employee to display as firstname lastname rather than lastname, firstname

Invoice Customization 4

Page 65: VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0) » Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013

CONFIDENTIAL © Deltek, Inc. All Rights Reserved. 65

» Copy/rename InvoiceLabor.rdl to InvoiceInsightLabor.rdl and open it

Invoice Customization 4

Page 66: VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0) » Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013

CONFIDENTIAL © Deltek, Inc. All Rights Reserved. 66

» From the Report Data window, expand Datasets, right click on LaborDataset

Invoice Customization 4

Page 67: VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0) » Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013

CONFIDENTIAL © Deltek, Inc. All Rights Reserved. 67

» Tip: use SQL Management Studio to modify the query. Select and copy the whole SQL

script from the Query Designer window and paste it into SQL Management Studio

Invoice Customization 4

Page 68: VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0) » Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013

CONFIDENTIAL © Deltek, Inc. All Rights Reserved. 68

» The query will require parameters before it can run. To figure out which parameters are

needed try to run the query from within Query Designer to help you add those to the query

you just pasted in SQL Management Studio

Invoice Customization 4

Page 69: VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0) » Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013

CONFIDENTIAL © Deltek, Inc. All Rights Reserved. 69

» Modify the query in SQL Management Studio so that it returns an extra column with the

employee name to display as desired

» Tip: tag every custom code you modify or add to your query with beginning and ending

comments

Invoice Customization 4

Page 70: VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0) » Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013

CONFIDENTIAL © Deltek, Inc. All Rights Reserved. 70

» Copy and paste the query back into the Query Designer window (do not include variables

declaration)

Invoice Customization 4

Page 71: VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0) » Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013

CONFIDENTIAL © Deltek, Inc. All Rights Reserved. 71

» Run the query and make sure you are getting the desired results

Invoice Customization 4

Page 72: VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0) » Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013

CONFIDENTIAL © Deltek, Inc. All Rights Reserved. 72

» Back in the report designer, change the textboxes that display EmpName to custEmpName

» Open back InvoiceInsight.rdl and update InvoiceLabor subreport’s ReportName accordingly

Invoice Customization 4

Page 73: VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0) » Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013

CONFIDENTIAL © Deltek, Inc. All Rights Reserved. 73

» Preview – Invoice Body

Invoice Customization 4

Page 74: VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0) » Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013

8. Report Loading

Page 75: VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0) » Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013

CONFIDENTIAL © Deltek, Inc. All Rights Reserved. 75

» In the Desktop Application, under Utilities/Report Administration/Custom Reports tab

Report Loading

Page 76: VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0) » Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013

CONFIDENTIAL © Deltek, Inc. All Rights Reserved. 76

» Click on Upload in the “Load Custom Reports” grid

Report Loading

Page 77: VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0) » Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013

CONFIDENTIAL © Deltek, Inc. All Rights Reserved. 77

» Browse to folder where the invoice rdl files are, select all rdl files and click on Open

Report Loading

Page 78: VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0) » Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013

CONFIDENTIAL © Deltek, Inc. All Rights Reserved. 78

» Once they open they will all be

listed in the grid with no Name,

Location and Status

» Update all Location to “Invoice”

and click Save

Report Loading

Page 79: VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0) » Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013

CONFIDENTIAL © Deltek, Inc. All Rights Reserved. 79

» After saving, all uploaded reports will be saved to the database and synchronized with the

report server

Report Loading

Page 80: VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0) » Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013

CONFIDENTIAL © Deltek, Inc. All Rights Reserved. 80

» Once the invoice rdl files are uploaded, an Invoice Template Editor entry (in the Desktop

Application, under Settings/Billing/Invoice Template Editor) can be created to make use of

the custom invoice “InvoiceInsight”

Report Loading

Page 81: VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0) » Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013

9. More Tips and Tricks

Page 82: VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0) » Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013

CONFIDENTIAL © Deltek, Inc. All Rights Reserved. 82

» Do not make a bunch of changes in one shot and then publish the invoice to test. Publish

each time a change is made and make sure it is working before tackling the next change

» Invoice Total should not deviate/change from what standard is showing.

» Check under Invoice Template Editor and/or Billing Terms to see if it can handle your

requirement before customizing

More Tips and Tricks

Page 83: VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0) » Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013

CONFIDENTIAL © Deltek, Inc. All Rights Reserved. 83

» May need to re-apply the same customization from version to version (even between CUs).

Drop yourself enough breadcrumbs to make sure that you can re-create the same custom

invoice if you need to re-apply the same customization to a future Vision/Vantagepoint

version

» Clients hosted by Deltek Cloud need to prefix all “rdl” files with their 10 digit client no. (zero

prefixed) followed by underscore

Ex.:

0000012345_InvoiceInsight.rdl

0000012345_InvoiceLabor.rdl

0000012345_InvoiceInsightLabor.rdl

More Tips and Tricks

Page 84: VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0) » Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013

CONFIDENTIAL © Deltek, Inc. All Rights Reserved. 84

» Use OriginalTable, OriginalPeriod, OriginalPostSeq and OriginalPKey columns (from

billLabDetail, billConDetail, billExpDetail, billUnitDetail, etc.) to link back to original

transaction table if further info is needed.

More Tips and Tricks

Page 85: VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0) » Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013

CONFIDENTIAL © Deltek, Inc. All Rights Reserved. 85

» Vision and Vantagepoint’s reports are all based on the RDL 2010 Schema (SQL 2008 R2)

» When upgrading from Vision to Vantagepoint, for the most part the Vision RDLs are

compatible with Vantagepoint and can be loaded directly but they may be missing fixes

that have been applied since Vision. Please test, test, test.

» Highly suggested to re-apply customization.

» When upgrading your product, make sure you get the set of RDLs that matches the product

version and CU you are upgrading to when re-applying your customization.

More Tips and Tricks

Page 86: VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0) » Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013

Questions & Contact

Alexander [email protected]

Source code on GitHub:

https://github.com/CyberNg/DeltekInsight2019

Thank you!

Page 87: VPVI-29 · 2019-10-31 · » Visual Studio 2013 (for Vision 7.6 through currently Vantagepoint 2.0) » Microsoft SQL Server Data Tools Business Intelligence for Visual Studio 2013