This is an old revision of the document!
PHM module is responsible mostly for car fueling, petrol stations and related things.
Common terms:
Data flow:
PHMTransaction table.KupsonView etc.TransactionManager into transaction data store - PHMTransactionDataStore table. This is done via service thread PHMTransaction.
Most of data on web application are from table PHMTransactionDataStore. When some data from this one
are deleted, these are again recalculated via PHMTransaction service. See bug for more information.
Processing in TransactionManager
PHMTransaction process these amount in loopPHMNozzleHistory tableSynchronization:
On some customers with AVPs, method KupsonManager.SynchronizeAllDevices - there is both direction synchronization:
PHMTransactionTime intervals for synchronizations are newly defined in db - PR
Photos:
Transactions has photos made by some cameras on fuel stations. These photos are synced via rsync to APL_Service server (name in Terminals) in shared directory \\192.168.148.15\avp\AGROFERT\201801\overphoto\cam_R691_8.jpg. These are then synced with some service into db - table PHMTransactionPhoto.
Vehicles:
Vehicles are synchronized mostly from customers external data e.g. SAP for SD customer into some tables. Best usage for search vehicles is view PHMIdentityVehicleView. Column IdentityTextValue is value external customer car identifier for PHM.