Solved

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

Posted on 2009-04-02
8
328 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
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

For Desktop Techs: How to retain a user's Notes configuration data when swapping out the end user's computer. (Assuming that you are not upgrading to a completely different version of Notes client) All you need to do is: 1) install Notes o…
Article by: Rob
Notes 8.5 Archiving Steps and Tips This article covers setting up a Notes archive, and helps understand some of the menu choices making setting up and maintaining a Notes archive file easier.
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

757 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