FUEL SEQUENCE, Rights, FuelGrade and FuelType

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

FUEL SEQUENCE, Rights, FuelGrade and FuelType

'Neal Singh
Administrator

2) Check fuelling Rights:
a) If not restrictions -> Go to dispensing
b) Apply Local Vehicle Limit -> obtain Bal_Avail, if it is more than Tank Cap, Load presset on MID with tank capacity, if not with the rest of fuel, is it ok?

Neal: Yes, the vehicle may have large available balance and couple with the MIN_HOURS_BEFORE_FUELLING or the MIN_KMs_BEFORE_REFUEL, the vehicle can be stopped from taking another TANK CAPACITY immediately (into  a Gerry Can etc) .


c) Apply Acc Limit -> Vehicle Bal_Avail is less that the Account balance?

Neal: If this is a Single Site, the Acc Balance can be maintained locally, so vehicles fill that amount is adjusted. Since many vehicle can be on the same Acc, it is important to check that there is available balance on the Acc as the Vehicle may have R3000 available, but the Main Acc could be at zero or close to it.

Now it will be a good idea to keep a reserved amount for each transaction that is started on the Account as the Account can have R1000 and two car can be started minutes apart, but both vehicles will be stopped at R1000. The Account will go into –R1000.

 

The way to handle this will be to have a Reserved Field for each Acc and every time you check to see what is available, you must minus the reserved amount. The amount you reserve will be equal to Tank Capacity. Once the Transaction is completed, you minus the Tank Capacity for that Vehicle from the Reserved Amount.

Let me know if that makes sense.


d) Get Web Authorization -> I will leave for the next stage
e) Apply Tank Capacity -> Load presset on MID as tank Capacity.
f) Apply Hour Between Fills -> Check the last time that this vehicle was refilled, rest the actual time and if it bigger, then autorize. But now the question is where is stored that value? because in the vehicle balance I have only last odometer, not the last hour.

Neal: I thought it can be gotten from the record of the last transaction for that vehicle, maybe it will be easier to create another field for DateTime rather than searching for a transaction.
g) Apply KMs Between Fills -> obtain the actual odometer, minus the last, then the result must to be bigger than Min_Km_B4_Fill, is it ok?

Neal: Correct


3) When must to follow the fuelling Mode sequence(ask odo, hourmeter, driver, etc)? after rights?

Neal: Yes, check in this order;

1.     FuelType and Grade

2.     FuelSequence

3.     Rights – NB: If Web is auth is requied, then the Driver, Odo etc must be sent to the Server.


4) Can you give me some examples of where I need to use the fuelling Mode?

Neal: The Fueling Mode = Fueling Sequence