Skip to Content
0
Former Member
Jun 05, 2009 at 05:09 PM

Bank Transfer SplitTransaction

18 Views

Hi Again,

I am doing a Bank transfer in Payments regarding payment with Interact (direct Payment from Bank account)

Here in Canada you have the possibility to withdraw money: Sample invoice cost $100, you can pay $200 and receive $100 in cash.

I could do a Journal Entry for this transaction; but I see in the Payment describtion I can do a

vPay.SplitTransaction = 0

Sample I like to do:

GL Account A $200 (Account Number)

GL Account B $100 (Account Number)

GL Account C $100 (Business Partner)

Any suggestion?

Please find the Bank transaction code below.

Thank You,

Rune

oPayments = (SAPbobsCOM.Payments)oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oIncomingPayments);

oPayments.CardCode = vmp_CardCode_string;
oPayments.DocDate = DateTime.Now;
oPayments.JournalRemarks = "Incoming - Payment Bank Transfer";
oPayments.TaxDate = DateTime.Now;
oPayments.TransferAccount = "_SYS00000000343"; //"1010140-001";
oPayments.TransferDate = DateTime.Now;
oPayments.TransferReference = vmp_CardCode_string;
oPayments.TransferSum = vmp_Amount_double;

vc_Message_Result_Int32 = oPayments.Add();