CreditNoteCreator SetPercentageLineDiscount Method ebComposer Tools Class Library for .NET
Unimaze Software creates Components and Services for Messege Transport and Message Handling B2B electronic documents for third parties based on International and European standards.
Specified percentage line discount. If the document standard does not support line level discounts, the unit price is adjusted.

Namespace: Unimaze.Composer.Tools
Assembly: Unimaze.Composer.Tools (in Unimaze.Composer.Tools.dll) Version: 2.2.200.0 (2.2.0.23)
Syntax

public void SetPercentageLineDiscount(
	ICreditNoteLine creditNoteLine,
	decimal percentageDiscount,
	string reason
)

Parameters

creditNoteLine
Type: ICreditNoteLine
The instance of the creditNote line to update.
percentageDiscount
Type: System Decimal
Percentage of the discount.
reason
Type: System String
Reason for the discount, leave empty if not specified
See Also