Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
CustomerPaymentApply C# Help?
Hey, im trying to apply a payment to an invoice using web services through C# but im stuck getting the existing credits on an account. I have done this but get an error regarding the doc number:
CustomerPaymentApply[] applyTo = new CustomerPaymentApply[1]; applyTo[0].doc = Convert.ToInt64(invoiceDetails.internalId); applyTo[0].docSpecified = true; applyTo[0].apply = true; applyTo[0].applySpecified = true; CustomerPaymentApplyList applyList = new CustomerPaymentApplyList(); applyList.apply = applyTo;
Any help would be appreciated.
0