Share via


FiscalPrinter.PrintRecItemRefundVoid Method (POS for .NET v1.14 SDK Documentation)

3/2/2014

Processes a void of one or more item refunds.

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

Syntax

'Declaration
Public Overridable Sub PrintRecItemRefundVoid ( _
    description As String, _
    amount As Decimal, _
    quantity As Integer, _
    vatInfo As Integer, _
    unitAmount As Decimal, _
    unitName As String _
)
public virtual void PrintRecItemRefundVoid (
    string description,
    decimal amount,
    int quantity,
    int vatInfo,
    decimal unitAmount,
    string unitName
)
public:
virtual void PrintRecItemRefundVoid (
    String^ description, 
    Decimal amount, 
    int quantity, 
    int vatInfo, 
    Decimal unitAmount, 
    String^ unitName
)
public void PrintRecItemRefundVoid (
    String description, 
    Decimal amount, 
    int quantity, 
    int vatInfo, 
    Decimal unitAmount, 
    String unitName
)
public function PrintRecItemRefundVoid (
    description : String, 
    amount : decimal, 
    quantity : int, 
    vatInfo : int, 
    unitAmount : decimal, 
    unitName : String
)

Parameters

  • description
    Text describing the refund.
  • amount
    The amount of the refund line.
  • quantity
    Number of items. If zero, a single item is assumed.
  • vatInfo
    VAT rate identifier or amount. If not used a zero must be transferred.
  • unitAmount
    Amount of each refund item. If not used a zero must be transferred.
  • unitName
    Name of the unit i.e., “kg” or “ltr” or “pcs”. If not used an empty string (“”) must be transferred.

Remarks

The amount is positive and the totals registers are incremented.

If unitAmount and quantity are non-zero then the amount parameter corresponds to the product of quantity and unitAmount. Otherwise this method has the same functionality as the method PrintRecRefundVoid.

Some fixed text, along with the description, will be printed on the station defined by the FiscalReceiptStation property to indicate that a void of a refund has occurred.

The vatInfo parameter contains a VAT table identifier if CapHasVatTable is true. Otherwise it contains a VAT amount.

If CapOnlyVoidLastItem is true, only the last refund item transferred to the Fiscal Printer can be voided.

This method is performed synchronously if AsyncMode is false, and asynchronously if AsyncMode is true.

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