Home
Overview
Package
Class
Use
Tree
Deprecated
Hooks
HotSpot
Index
Help
SalesPoint Framework v3.0
PREV
NEXT
FRAMES
NO FRAMES
Hook: Log Opening And Closing Of SalesPoints
Requirement
A log entry needs to be written whenever a SalesPoint is opened or closed.
Method of Adaptation
Enable Feature
Level of Support
Parameter Pattern
HotSpot
Log management
Hooks used
Add a new point of sale
Participants
SalesPoint
, NewSalesPoint
Changes
subclass NewSalesPoint of SalesPoint.
if log opening of SalesPoint:
NewSalesPoint.logSalesPointOpened overrides
SalesPoint.logSalesPointOpened
, writing a log entry to the appropriate log file.
if log closing of SalesPoint:
NewSalesPoint.logSalesPointClosed overrides
SalesPoint.logSalesPointClosed
, writing a log entry to the appropriate log file.
Add a new point of sale
[NewSalesPoint = NewSalesPoint].
Constraints
The above methods are only meant for writing log entries. If you need other reactions to the opening or closing of a SalesPoint, apply the
React to Adding or Removing Of SalesPoint
hook.
Home
Overview
Package
Class
Use
Tree
Deprecated
Hooks
HotSpot
Index
Help
SalesPoint Framework v3.0
PREV
NEXT
FRAMES
NO FRAMES