Preview VAT : An Error Occured During Calculating [Discount_], Report: frReport1, Object: MEMO33L, Invalid Floating Point Operation

Jika pada saat Preview Faktur Pajak(VAT) muncul konfirmasi  :
“An Error Occured During Calculating [Discount_]
Report: frReport1
Object: MEMO33L
Invalid Floating Point Operation”
Berikut langkah-langkah untuk memperbaiki nya :
  1. Setup | Form Template | VAT Inv Local, double klik di baris Template Name yang dimaksud.
  2. Ditampilan Form Template Field Selection, klik button Designer.
  3. Di Designer ke menu File | Data Dictionary, di folder Invoice, klik sekali di bagian Discount.
  4. Di bagian Expression dibawah, ganti menjadi :
[if( ([Tax1AmtAR]/100000) * [[if(DialogForm.qrySIARInv."CashDiscount"=null, 0, DialogForm.qrySIARInv."CashDiscount")]] > 1000000, ((([Tax1AmtAR]/1000) * ([[[if(DialogForm.qrySIARInv."CashDiscount"=null, 0, DialogForm.qrySIARInv."CashDiscount")]]]/1000))/[SubTotalAR]) * 1000000 , ([Tax1AmtAR]*[[[if(DialogForm.qrySIARInv."CashDiscount"=null, 0, DialogForm.qrySIARInv."CashDiscount")]]])/[SubTotalAR])]
5. Lalu klik Ok, tutup tampilan Data Dictionary tsb. Close Designer, pilih Yes untuk konfirmasi Save Changes. Coba kembali preview Faktur Pajak.

Tidak ada komentar:

Posting Komentar