I am just learning the development of BC.
I added the payment terms code to an "Aged Accounts Payable" custom layout report. I copied the 322 report code and used it as the basis for my custom report. Here is the "column" code I added to the top of the "dataitem" section:
dataset
{
dataitem(Vendor; Vendor)
{
PrintOnlyIfDetail = true;
RequestFilterFields = "No.";
column(Payable_TermsCode; "Payment Terms Code")
{
}
The other columns continue below this code.
I then added the field to the .rdlc report and when I run the report the field shows in the correct position and shows one of the payment terms codes. However, it shows the same payment term for all of the vendors. How do I get it to link this field so that it show the payment terms code for each different vendor and where should I add that code?
Thanks