Skip to Content

Update Outgoing Payment Row Data(Account Type)

Dear All,

How can I update the outgoing payment row data (UDF) using DIAPI while type is Account Type in Outgoing Payment ?

Please help me for this problem.

Regards

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 09, 2014 at 09:33 PM


    Hi ,

    I think you can update the UDF's ... Haven't try it but you can test it like this :

    Payments_Invoices PI = (Payments_Invoices)oCompany.GetBusinessObject(BoObjectTypes

    .oVendorPayments);

    if you know the docentry then you can use :

    PI.GetByKey(docentry) And if you don't know then you can get the latest payment added by Company's object like :

    int key = oCompany.GetNewObjectKey() ; and then use this key value to get the outgoing payment you want to update .

    PI.Lines.UserFields.Fields.Item("U_").Value = //Value ;

    PI.Update();

    Hope it help you .

    Regards

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 09, 2014 at 04:24 AM

    hi.

    First front end is it possible have u checked ..

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 09, 2014 at 12:10 PM

    hi..

    Kuldeep Kumar

    Have u got the solution ..

    is it possible to update the out going payment..

    if it is possible can u plz share code here..

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.