Define a button style
Use the click function “OnExternalPayUnitGeneralFunction” and IndexValue="1001" to define a style to trigger the QR-code generation from an AutoClick-function. This can be used in the OutOfOrderPanel.
Add any of the predefined qr-code strings "QRCodePreDefined1" <extendedproperties> described in PAYUNIT. This is used to trigger the QR-code function in the DLL.
<Style def:Name="EXTPU_AutoClickOutOfOrderButtonStyle">
<StyleProperties>
<PropertyStyle Name="AutoClickOutOfOrder" AutoClick="true" Click="OnExternalPayUnitGeneralFunction" Size="0,0" IndexValue="1001" KeyValue="ext2,QRCodePreDefined1"/>
</StyleProperties>
</Style>