On button push Fill General Journal

oioi007oioi007 Member Posts: 41
hello

I need help, I wonder how to write code which selects from Customer table lines where the Balance > 0 and then pastes lines in General Journal?

Comments

  • garakgarak Member Posts: 3,263
    first, the balance is a calculated field. so, you must go through the customers and use calcfiled(Balance). So if the Balance > 0 you fill your (if you will not automatic post) General Journal with a Journal Template Name and a Journal Batch Name and fill out the other needed fields

    Regards
    Do you make it right, it works too!
  • oioi007oioi007 Member Posts: 41
    thanks :)
Sign In or Register to comment.