I want to add some of the fields from Payment Journal table like "Posting Date", "Document Type", "Document No.", "Account Type", "Account No.", and "Description" (shown in fig1) in another customised table i.e. "G/L Table" (shown in fig 2). I have used a loop but the main issue that I am facing is that it is getting only the last record rather than all the records. I have also attached the code screenshot (fig 3). Kindly help me with this issue.