Solved

Lotus Notes capturing field updates and making calculations based on the updates

Posted on 2009-04-02
8
331 Views
Last Modified: 2013-12-18
I am working on an application to track dealer performance in scheduling truck pick ups on time.  I do a daily import of information from our enterprise software keyed on Sales Order# with the following fields:

SalesOrder# , ScheduledShipDate , ActualShipDate , TotalLbs , ShippedLbs , RemainingLbs

Lotus Calculates the number of Trucks needed based on TotalLbs/45000

Customer Service enters in the Lotus app a CustomerConfirmPickupDate  for each truck and assigns number of Lbs to each truck based on trucks actual capacity

I need help with capturing (DateTruckWasConfirmed) the date customer service enters the CustomerConfirmPickupDate which can change if the truck is rescheduled.  So I need some way to allow the CustomerConfirmPickupDate to be changed but maintain each date and the date they were entered.  The goal is to be able to track the following:

1.  Has a truck been rescheduled within 3 days of its CustomerConfirmPickupDate (is the new DateTruckWasConfirmed within 3 days of previously entered CustomerConfirmedPickupDate)

2.  Did the ActualSHipDate occur after the last entered CustomerConfirmPickupDate


Any help or ideas would be greatly appreciated.

0
Comment
Question by:cinamitton
  • 4
  • 2
  • 2
8 Comments
 
LVL 63

Expert Comment

by:SysExpert
ID: 24051405
0
 
LVL 63

Expert Comment

by:SysExpert
ID: 24051420
0
 
LVL 46

Expert Comment

by:Sjef Bosman
ID: 24058363
In general:
- use a Status-field to indicate what status the current item is in
- use a History-field (multi-value) to capture a history of status changes
- use a State Transition Diagram to analyse and design your application
- in your code, use the current state and the event that occurred to determine the next state and the actions to be executed
0
 

Author Comment

by:cinamitton
ID: 24058977
Sjef,  

I think I understand you concept,  would you have any example you could post?
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 46

Accepted Solution

by:
Sjef Bosman earned 500 total points
ID: 24059136
Hm, yes, I was afraid you'd ask me that... It requires quite some time and space though, and I don't have that time right now...

Here's an earlier question with more or less the same topics:
http://www.experts-exchange.com/Q_21384093.html

The history-stuff is a different topic:
http://www.experts-exchange.com/Q_23810866.html
http://www.experts-exchange.com/Q_21707398.html
0
 
LVL 46

Expert Comment

by:Sjef Bosman
ID: 24380353
Just out of interest: how did you solve your problem?
0
 

Author Comment

by:cinamitton
ID: 24385993
I used some of the suggestions from the links you provided with status fields and history fields but found that some of the functionality being requested was not possible to program because there was no related data to work with from the Enterprise data downloads.  They wanted the Notes app to track individual truck loads (manually entered into Notes App) on time performance but there is no related individual truck shipping information provided in the download only a total Lbs shipped each day so there was no way to determine which trucks were associated with the Lbs shipped.  Thanks again for the assistance.
0
 
LVL 46

Expert Comment

by:Sjef Bosman
ID: 24390018
Good analysis. Thanks for the update!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

For users on the Lotus Notes 8 Standard client, this article provides information on checking the Java Heap size and adjusting it to half of your system RAM in attempt to get the Lotus Notes 8.x Standard client to run faster.  I've had to exercise t…
This is an old article, please see an updated version of this article, located here: http://www.experts-exchange.com/articles/23619/Notes-8-5x-Windows-7-Notes-info-and-tips.html
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now