FiscalPrinter.DayOpened Property (POS for .NET v1.12 SDK Documentation)

2/27/2008

Gets a Boolean value that indicates whether the fiscal day has been started.

Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)

Syntax

'Declaration
Public MustOverride ReadOnly Property DayOpened As Boolean
public abstract bool DayOpened { get; }
public:
virtual property bool DayOpened {
    bool get () abstract;
}
/** @property */
public abstract boolean get_DayOpened ()
public abstract function get DayOpened () : boolean

Remarks

If true, the fiscal day has been started on the printer; otherwise, false.

The fiscal day of the printer can be either opened or not opened. The DayOpened property reflects whether the printer considers its fiscal day to be opened or not.

Some methods can only be called while the fiscal day is not yet opened (that is, when DayOpened is false). Methods that can be called after the fiscal day is opened vary from country to country and region to region. Typically all the configuration methods should be called only before the fiscal day is opened.

Depending on fiscal legislation, some following methods may be allowed only if the printer has not yet begun its fiscal day:

SetDateSetHeaderLineSetPosIdSetStoreFiscalIdSetTrailerLineSetVatTableSetVatValue

DayOpened is set and kept current by the service object while the device is enabled.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread-safe. Any instance members are not guaranteed to be thread-safe.

See Also

Reference

FiscalPrinter Class
FiscalPrinter Members
Microsoft.PointOfService Namespace