Dear experts,
I'm usign SBO 8.82 PL12
I want create a vendor payment with cash flow, I tried the next code (C#) but i cant get sucess (my payment was created with 0 value in cash flow field)
Note : the document and currency of payment is local, payed by automatic check.
myVendorPayment.PrimaryFormItems.SetCurrentLine(0);
myVendorPayment.AmountLC = 1000;
myVendorPayment.PrimaryFormItems.CashFlowLineItemID = 48; /* is a valid value */
myVendorPayment.PrimaryFormItems.CheckNumber = "1";
myVendorPayment.PrimaryFormItems.PaymentMeans = PaymentMeansTypeEnum.pmtChecks;
myVendorPayment.PrimaryFormItems.Add();
....Then add the payment
Also I tried without the 1rst and last line and I get no sucess.
Please help me.
Thank yo so much