Get the CreditorID in Creditor Cheque payment
Posted: Fri Feb 06, 2015 5:04 pm
Hi Mike,
Could you please provide me a sample syntax code for Creditor Cheque payment plugin .
My requirement is, On Save i need to get the CreditorID's in a FOR loop. Currently in V6 i use the following breakout code
For Each lCreditor In ChequePaymentObject.Creditors
SQL = "select AltAccountNo from CR_Main where CreditorID = '" & Trim(lCreditor.CreditorID) & "'"
Next
Also please tell me how to get the BatchNo. I tried in the plugin but couldn't.
Thanks
Dimuthu
Could you please provide me a sample syntax code for Creditor Cheque payment plugin .
My requirement is, On Save i need to get the CreditorID's in a FOR loop. Currently in V6 i use the following breakout code
For Each lCreditor In ChequePaymentObject.Creditors
SQL = "select AltAccountNo from CR_Main where CreditorID = '" & Trim(lCreditor.CreditorID) & "'"
Next
Also please tell me how to get the BatchNo. I tried in the plugin but couldn't.
Thanks
Dimuthu