Skip to Content
0

How to not ckeck payment on account in incoming payment

Jan 20, 2017 at 07:57 AM

37

avatar image
Former Member

Hello all ,

I would like not to pick the field payment on account from incoming payment with value but cannot find the right code to do that in vb.Any suggestion?The code i use is the following for headers :

oPymt.DocDate = DateTime.Now
oPymt.CardCode = rsHeader.Fields.Item("CUSTOMERID").Value.ToString
oPymt.CashSum = rsHeader.Fields.Item("VALUE").Value.ToString
oPymt.TransferAccount = rsHeader.Fields.Item("BANK/ACCOUNT").Value.ToString
oPymt.TransferDate = DateTime.Now
oPymt.TransferSum = rsHeader.Fields.Item("VALUE").Value.ToString

Regards Ifigeneia

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Edy Simon Jan 23, 2017 at 01:08 AM
0

Hi Ifigeneia,

If you don't wish to pay on account, then you will need to add the invoices you are paying for.

oPymt.Invoices.InvoiceType = it_Invoice
oPymt.Invoices.DocEntry = 1
oPymt.Invoices.PaidSum = 100

Regards
Edy

Share
10 |10000 characters needed characters left characters exceeded