|
Sets defaults values from selection window |
|
RepSpec |
record to which defaults values are assigned |
WindowName |
window name from which default values are assigned |
|
global
procedure AcceptStatusVIDsm()
BEGIN
record VIVc VIr;
record RcVc RepSpec;
Integer wn;
wn = CurWindow;
GetWindowRecord(wn,VIr);
ReportDefaults(RepSpec,"AcceptanceRClass");
RepSpec.repname = "AcceptanceRn";
RepSpec.f1 = VIr.SerNr;
RepSpec.AccStr = "";
RepSpec.sStartDate = VIr.TransDate;
RepSpec.sEndDate = VIr.TransDate;
RepSpec.AccStr = "VIVc";
RepSpec.Media = mtScreen;
RunReport(RepSpec,0);
RETURN;
END;
««