SAP Knowledge Base Article - Public

3004009 - The QR Code for Switzerland Does not Consider the Down Payment in the Customer Invoice Output Document.

Symptom

The QR Code/ QR Payment Slip for Switzerland does not consider the Down Payment in the Customer Invoice Output Document.

Environment

SAP Business ByDesign 2011 HFC02

Reproducing the Issue

When you scan the QR Code on the Customer Invoice Output Document you can see that the reduction of the due amount via an attached down payment is not considered.

Cause

A Software Correction which corrects the Customer Invoice Form Template for Switzerland will be delivered with Hotfix Collection 03 in Release 2011.

We provided a partial fix via an Emergency Patch for Hotfix Collection 02 in Release 2011. However, this requires a manual adjustment of the Customer Invoice Form Template for Switzerland.

Resolution

Before the deployment of Hotfix Collection 03 in Release 2011 you need to manually adjust the Customer Invoice Form Template for Switzerland using the Adobe LifeCycle Designer.

You can download the Form Template in the Application and User Management workcenter,  the Form Template Maintenance view and filter by Country: Switzerland.

Here a short description on what needs to be changed on the form template:

  • add at Hierarchy < FormInvoiceRequest.bydMain.QRSlipBody > a TextField named “getAmountAfterDP” and set the property Field Presence to “Hidden”
  • update script of < FormInvoiceRequest.bdyMain.frmSummaryBlock.frmDownPaymentPricing::initialize - (FormCalc, client) >   filling in "$.parent.parent.QRSlipBody.getAmountAfterDP.rawValue = this.frmLine1.decAmount.rawValue;" at line 33
  • add a script at < FormInvoiceRequest.#pageSet[0].mstPage4QR.Receipt.AmountSection::initialize - (FormCalc, both) > with the following lines

 

if ( $.parent.parent.parent.parent.bdyMain.QRSlipBody.getAmountAfterDP.rawValue == null or $.parent.parent.parent.parent.bdyMain.QRSlipBody.getAmountAfterDP.rawValue == "" or $.parent.parent.parent.parent.bdyMain.QRSlipBody.getAmountAfterDP.rawValue == " " ) then

    $.debugDPamount.rawValue = "no DownPayment amount"

else

    $.amnt.rawValue = $.parent.parent.parent.parent.bdyMain.QRSlipBody.getAmountAfterDP.rawValue

    $.parent.parent.Payment_part.AmountSection.amnt.rawValue = $.parent.parent.parent.parent.bdyMain.QRSlipBody.getAmountAfterDP.rawValue

endif

 

The following screenshot shows the form template where the 3 steps have been applied as a guidance.

EP steps to update form.png

Once the changes are performed you upload and publish the Form Template in the Application and User Management workcenter and the Form Template Maintenance view .

Please Note:

This change is only required for the Customer Invoice Form Template for country CH (Switzerland), when the invoice includes a Down Payments and the due amount on the QR-slip will erroneously show the total invoice amount instead of the reduced due amount.

The correction steps above are language independent and every language variant has to be updated individually using the same steps.

Keywords

Down Payment; QR Code; QR Slip; QR-payment-slip; Amount; , KBA , AP-PAY-GLO , Cross-Country Extensions , AP-CI-CI-GLO , Cross-Country Extensions , Problem

Product

SAP Business ByDesign 2011

Attachments

EP steps to update form.png