Skip to Content
avatar image
Former Member

How to not ckeck payment on account in incoming payment

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Jan 23, 2017 at 01:08 AM

    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

    Add comment
    10|10000 characters needed characters exceeded