Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Refer to : https://wavelet.atlassian.net/browse/WH-41033

Introduction

Auto print function was implemented in the EMP as of June 2021. This wiki will show how to setup the auto print function in EMP.

Requirement

  1. wavelet-agent-pos-v1.0.4Download the wavelet-agent-pos-v1.0.4.zip : Unzip the file and run the run.bat. Wait the program run until finish. After finish, open a browser and go to http://localhost:8085/ .  You will be greeted by 'Welcome to Wavelet Agent Pos!' message.
    Note: Please ensure that the program running and this step is necessary for every time the PC restart.

...

a. Auto popup print dialog

EMP Configurations

In the EMP, open the EMP configuration in trading module: Trading Config > General. In the direct print insert http://localhost:8085/printing/dialog/pdf and submit.

...

Under the Trading Config > Sales , search for default printable and set the DEFAULT as default printable and submit.

...

Test:
Create an invoice or cashsale and a print dialog will popup automatically.

...

b. Auto print

EMP Configurations

In the EMP, open the EMP configuration in trading module: Trading Config > General. In the direct print insert http://localhost:8085/printing/pdf and submit.

...

Under the Trading Config > Sales , search for defult printable and set the DEFAULT as default printable and submit.

...

Note: Ensure that the default printable format set at the branch setting is pdf.

Test:
Create an invoice or cashsale and the document will be printed automatically.

...

Note: This windows popup as print to PDF was used as default printer. The document will be printed using the default printer set in the Windows settingIntroduction

The customer complained that the report returns error or having different amount.

Steps:

  1. Check the server log while generating the same report.

    Image Added


    Identify the query for the report

  2. Rearrange the query for easier checking. You can use https://sqlformat.org/ to rearrange the query.

    Image Added

  3. As shown in the example, this report (SR-01) pull the data from table cust_invoice_index for date in 2021-07-06 and for branch 32, 33, 42, 36, and 37.

  4. You can troubleshoot the report from the query, either error in the report or compare the reports to find out which part causes the report to not tally.