Share via


FiscalPrinter.GetVatEntry Method

2/27/2008

Gets the rate associated with a given VAT identifier.

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

Syntax

'Declaration
Public MustOverride Function GetVatEntry ( _
    vatId As Integer, _
    optArgs As Integer _
) As Integer
public abstract int GetVatEntry (
    int vatId,
    int optArgs
)
public:
virtual int GetVatEntry (
    int vatId, 
    int optArgs
) abstract
public abstract int GetVatEntry (
    int vatId, 
    int optArgs
)
public abstract function GetVatEntry (
    vatId : int, 
    optArgs : int
) : int

Parameters

  • vatId
    VAT identifier of the required rate.
  • optArgs
    Rate associated with the VAT identifier.

Remarks

GetVatEntry is supported only if CapSetVatTable is true.

GetVatEntry may cause a PosControlException to be thrown with the following ErrorCode:

Value

Description

Illegal

The vatId parameter is invalid.

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