| Docs Help
  AppSource  
Docs  /  NVXGRL General Report Library  /  Libraries

RDLC Layout Library [GRLRdlcLayoutLibraryNVX]


2023/10/09 • 1 min. to read
The codeunit contains general purpose functions on the RDLC side.

Procedure nameDescription
IsHideDiscount(RecordVariant: Variant): Boolean If at least one document line contains a line discount <> 0, the function returns a false value. Helps to hide/unhide the column/row in the RDLC layout. RecordVariant currently only recognizes the following tables or DataItems: Sales Header, Purchase Header, Sales Invoice Header, Purchase Credit Memo Header
"RDLC Custom Code" can also be found in the object library [Copy - Paste]:

PublisherParameter
OnAfterElseInIsHideDiscount (var RecRef: RecordRef; var HideDiscount: Boolean; var IsHandled: Boolean)
OnAfterGetRecordRefInIsHidesDiscount (var RecRef: RecordRef; var HideDiscount: Boolean; var IsHandled: Boolean)


Submit feedback for
DE|EN Imprint