Sending​​ invoice​​ in​​ PDF​​ format​​ after​​ invoice​​ is​​ created as​​ scheduled batch​​ job

Sending​​ invoice​​ in​​ PDF​​ format​​ after​​ invoice​​ is​​ created as​​ scheduled batch​​ job

The​​ job​​ will​​ send​​ pdf​​ invoices​​ for​​ all​​ invoices​​ created​​ last​​ one​​ day.


 

 

Email​​ will​​ be​​ sent​​ only​​ for​​ the​​ customer​​ with​​ valid​​ email​​ address​​ and​​ “Invoice​​ Email”​​ checkbox​​ is​​ checked​​ in​​ “Customer​​ Master”.

 

 

 

Batch​​ processing​​ of​​ sending​​ invoice​​ email​​ is​​ referring​​ NVLT_System​​ value​​ of​​ ‘Inv_Batch_Type’.

For​​ each​​ case​​ of​​ this​​ value,​​ job​​ is​​ working​​ differently.

Value​​ 0:​​ print​​ and​​ send​​ email

Value​​ 1:​​ print​​ only

Value​​ 2:​​ email​​ only

 

 

For​​ the​​ email​​ function​​ to​​ work​​ correctly,​​ you​​ need​​ to​​ set​​ PDF​​ printer.

  • Ghostscript​​ application:

N41​​ pops​​ up​​ message​​ box​​ to​​ ask​​ permission​​ to​​ download​​ the​​ application​​ when​​ it’s​​ not​​ installed.

When​​ you​​ try​​ to​​ send​​ email,​​ if​​ there’s​​ no​​ such​​ message,​​ it’s​​ already​​ in​​ your​​ PC.

  • PDF​​ Printer​​ setup:

  • In​​ “Devices​​ and​​ Printers”​​ section​​ of​​ Windows​​ control​​ panel

  • Click​​ “Add​​ a​​ printer”

  • Stop​​ “Searching​​ for​​ available​​ printers”​​ and​​ add​​ printer​​ manually​​ by​​ using​​ “The​​ printer​​ that​​ I​​ want​​ isn’t​​ listed”

  • Choose​​ “Add​​ a​​ local​​ printer​​ or​​ network​​ printer​​ with​​ manual​​ settings”

  • For​​ printer​​ port,​​ choose​​ “Use​​ an​​ existing​​ port:”​​ LPT1

  • For​​ printer​​ driver,​​ choose​​ HP,​​ “HP​​ Color​​ LaserJet​​ 2800​​ Series​​ PS”

  • Change​​ the​​ name​​ of​​ the​​ printer​​ as​​ “Sybase​​ DataWindow​​ PS”

 

  • you​​ can​​ also​​ reference​​ shared​​ document​​ named​​ -​​ How​​ to​​ email​​ directly​​ from​​ N41.docx