API

Functions

Functions of the VJS

CalculateJobPlanningLineEndDate

With this function, you can calculate the end date of a job planning line.

procedure CalculateJobPlanningLineEndDate(pClientGuid: Guid; 

pPlanningDate:Date; pQuantityBase: Decimal; pResourceNo: Code[20]) EndDate: Date

 

 

Data type

Description

Parameter:

pClientGuid


Guid

 

This value is used for the global identification of VJS Control-AddIn on a page.

pPlanningDate

Date

Planning date used for the calculation.

pQuantityBase

Decimal

Quantity in the Base Unit of Measure for the chosen resource.

pResourceNo

Code[20]

The resource number to use in the calculation.

EndDate

Date

Calculated end date of job planning line.

SetJobPlanningLineBaseline

This function can be used to display the original temporal extension of job planning lines in comparison to their current state by a thin strip below the actual bar.

procedure SetJobPlanningLineBaseline(pClientGuid: Guid; 

pJobPlanningLinePosition: Text; pStartDate: Date; pEndDate: Date)

 

 

Data type

Description

Parameter:

pClientGuid


Guid

 

This value is used for the global identification of VJS Control-AddIn on a page.

pJobPlanningLinePosition

Text

Position of the job planning line to modify.

pStartDate

Date

Baseline Start of the Job Planning Line.

pEndDate

Date

Baseline End of the Job Planning Line