Quantcast
Channel: Symantec Connect - Endpoint Management - Discussions
Viewing all articles
Browse latest Browse all 6689

Date pickers and Calculating new dates

$
0
0
I need a solution

We are building a process that will allow our staff to calculate when certain activities for each job should be completed.

 

What we have is a webform where the user enters the customer number it then searches through our system and recoveres some customer info as well as a start date and some benchmark dates.

We use the start date as level 1.  At level 2 it is Start date + Bench mark date A = Level2Complete, At Level3 it is Level2Complete + Bench mark date B.

 

To Do this we were going to use date pickers in a dynamic update panel. The reason was if Any Dates fall during Xmas or during other times of the year the user can pick a new date from the date picker and it will recalculate the others with a simple refresh button. Am I right in my thinking?

 

To calculate each DAte we put in a date picker component shut off the start on today box. Used a dynamic model  and the Add DAys component to select the Previouse level completed date. (THis was under This Form data)

Meeting1.jpg shows the data picker and meeting1Calc shows the Add days component inside the Dynamic model.

 

When I run it I get an exception trigger of 

 

LogicBase.Components.FormBuilder.FormBuilderComponent

Form Builder

95b9aa97-7105-11e4-a9bd-005056a50013

System.Exception

Execution Engine Exception

 

System.Exception: Execution Engine Exception ---> System.Exception: Execution Exception ---> System.NullReferenceException: Object reference not set to an instance of an object. at LogicBase.Components.Default.DateHandling.AddDays.Run(IData data) at LogicBase.Core.ExecutionEngine.MultiPathProcessComponentExecutionDelegate.Execute(IData data, IOrchestrationComponent comp, String& outputPath, IExecutionEngine engine, TLExecutionContext context) at LogicBase.Core.ExecutionEngine.AbstractExecutionEngine.RunComponent(TLExecutionContext context, IData data, IOrchestrationComponent comp) --- End of inner exception stack trace --- at LogicBase.Core.ExecutionEngine.AbstractExecutionEngine.RunEngine(List`1 executionQueue) --- End of inner exception stack trace --- at LogicBase.Core.ExecutionEngine.AbstractExecutionEngine.RunEngine(List`1 executionQueue) at LogicBase.Core.ExecutionEngine.AbstractExecutionEngine.ExecuteComponent(IData data, IOrchestrationComponent component) at LogicBase.Core.Models.EmbeddedDecisionModel.EmbeddedDecisionModelExecutionEngine.Run(IData data) at LogicBase.Core.Data.DataTypes.VariableOrValueDataType.GetValue(IData data) at LogicBase.Core.Data.DataTypes.VariableOrValueDataType.GetValue[T](IData data) at LogicBase.Components.FormBuilder.DatePickerComponentRenderer.Load() at LogicBase.Components.FormBuilder.Core.FormComponentRenderer`1.LogicBase.Components.FormBuilder.Core.IFormComponentRenderer.Load() at LogicBase.Components.FormBuilder.FormBuilderComponentRenderer.Load() at LogicBase.Components.FormBuilder.FormBuilderComponent.LogicBase.Core.Models.Dialog.IAspNetPageComponent.Load(ComposerForm page) at LogicBase.Core.Models.Dialog.ComposerForm.OnLoad(EventArgs e) 

 

 

Thank you.


Viewing all articles
Browse latest Browse all 6689

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>