Alter or reload all Entries

Discussion in 'Free Source Codes' started by Neeru, May 1, 2020.

    
  1. Neeru

    Neeru Active Member


    Hi All

    I hope you all are safe.

    Anyone have idea how we can alter or reaccept all accounting entries by tcp without open any entries!.


    Thanks in Advance
    "Stay Home stay safe"
     


  2. Neeru

    Neeru Active Member


    Hi All members

    Any hind and Idea ?
     


  3. Devendra_Rawat

    Devendra_Rawat Well-Known Member


    Can be done. First decide the criteria for changing the entries, which entries you want to change and what changes you want to make.

    Load entries (all or based on criteria) into a collection with MasterId

    now make a collection of changes to be made ready or you can use variables for each field to be changed.

    now loop through the first collection, get master id, call a function

    [Function : FunctionName]
    Object : Voucher : ##MasterId

    Set target and set values , accept alter

    there is similar tdl available in the forum (replace ledger and stock Item in vouchers) search it
     
    Sanjeev S likes this.


  4. Devendra_Rawat

    Devendra_Rawat Well-Known Member


    Anyway... Nice job your doing on the forum..
     


  5. Sanjeev S

    Sanjeev S Active Member


    Thanks Devendra ji. This is required especially when we add some UDF's.
     


  6. Neeru

    Neeru Active Member


    Thank you for reply and support

     


  7. Neeru

    Neeru Active Member


    My problem is sometime value not properly hit in entry when i send xml request from web. After i open and save that entries then it's hit property... I want when i select entries in daybook and press button (customize button) then it do like as we open and save entries... For example Refresh TDL.
     


Share This Page