📚 SAP Business One SDK Help

SplitVendorCreditRow Property
See Also  Example

Description

Splits journal entries of an outgoing payment in credit card installments.

Property type

Read-write property

Syntax

Visual Basic
Public Property SplitVendorCreditRow() As BoYesNoEnum

Example

C#Copy Code
SAPbobsCOM.Payments oVendorPayment = (SAPbobsCOM.Payments)oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oVendorPayments); 
oVendorPayment.Remarks = ""Created via DI""; 
oVendorPayment.DocType = SAPbobsCOM.BoRcptTypes.rSupplier; 
oVendorPayment.DocDate = DateTime.Today; 
oVendorPayment.CardCode = ""V10000""; 
oVendorPayment.ControlAccount = ""30000""; 
oVendorPayment.CreditCards.CreditAcct = ""1001""; 
oVendorPayment.CreditCards.VoucherNum = ""TT123456""; 
oVendorPayment.CreditCards.CreditCard = 1; 
oVendorPayment.CreditCards.NumOfPayments = 10; 
oVendorPayment.CreditCards.FirstPaymentSum = 500; 
oVendorPayment.CreditCards.AdditionalPaymentSum = 500; 
oVendorPayment.CreditCards.CreditSum = 5000; 
oVendorPayment.CreditCards.SplitPayments = SAPbobsCOM.BoYesNoEnum.tYES; 
oVendorPayment.CreditCards.CreditType = SAPbobsCOM.BoRcptCredTypes.cr_Regular; 
oVendorPayment.CreditCards.NumOfCreditPayments = 1; 
 
oVendorPayment.SplitVendorCreditRow = SAPbobsCOM.BoYesNoEnum.tYES; 
int AVPM = oVendorPayment.Add();

See Also