11. April 2013 15:36
12. April 2013 08:22
StartDate := AccountingPeriod.GetFiscalYearStartDate(CurrentDate);
EndDate := AccountingPeriod.GetFiscalYearEndDate(CurrentDate);
CustomerSalesYTD := Rec;
CustomerSalesYTD.SETRANGE("Date Filter",StartDate,EndDate);
CustomerSalesYTD.CALCFIELDS("Sales (LCY)");
"Sales (LCY)" := CustomerSalesYTD."Sales (LCY)";
CustLedgEntry.RESET;
CustLedgEntry.SETRANGE("Customer No.","No.");
CustLedgEntry.SETRANGE("Posting Date",StartDate,EndDate);
PAGE.RUNMODAL(PAGE::"Customer Ledger Entries",CustLedgEntry);
12. April 2013 11:26