Thanks a lot of for your help. I think I eventually bought the question to operate. I connected your query towards the gl30000 table to get the day.I have viewed lots of publish below but none are as distinct or implement to my situation. Here is my circumstance: A payment letter is shipped to some customer. The account selection is on that letter.