...
BEGIN
// Delete the following line.
GPPGSelectionBuf.SetNonDedGPPGSelectMultiple340(ColumnGPPG,FilterString);
END;
...
...
BEGIN
// Add the following line.
GPPGSelectionBuf.SetNonDedGPPGSelectMultiple340(ColumnGPPG,GPPGFilterString);
END;
...
...
{
// Delete the following lines.
}
CONTROLS
{
// End of the lines.
}
...
...
{
// Add the following lines.
SaveValues=Yes;
OnInit=BEGIN
PrevDeclarationNumEnable := TRUE;
FileNameTextBoxVisible := TRUE;
IF FiscalYear = '' THEN
FiscalYear := '0000';
DeclarationNum := '0000';
Quarter := Quarter::"1T";
END;
OnOpenPage=BEGIN
PrevDeclarationNumEnable := ReplaceDeclaration;
FileNameTextBoxVisible := NOT ISSERVICETIER;
END;
}
CONTROLS
{
{ 1900000001;0;Container;
ContainerType=ContentArea }
{ 1900000002;1;Group ;
CaptionML=ENU=Options }
{ 1100000;2;Field ;
CaptionML=ENU=Fiscal Year;
Numeric=Yes;
SourceExpr=FiscalYear;
OnValidate=BEGIN
FiscalYearText := FiscalYear;
IF STRLEN(FiscalYearText) <> MAXSTRLEN(FiscalYearText) THEN
ERROR(Text10716,MAXSTRLEN(FiscalYearText));
IF NOT EVALUATE(NumFiscalYear,FiscalYear) OR (NumFiscalYear < 0) THEN
ERROR(Text10716,MAXSTRLEN(FiscalYearText));
END;
}
{ 1100002;2;Group ;
CaptionML=ENU=Period }
{ 1100003;3;Field ;
CaptionML=ENU=Month;
OptionCaptionML=ENU=" ,January,February,March,April,May,June,July,August,September,October,November,December";
SourceExpr=Month;
OnValidate=BEGIN
IF Month <> Month::" " THEN
Quarter := Quarter::" ";
END;
}
{ 1100005;3;Field ;
CaptionML=ENU=Quarter;
OptionCaptionML=ENU=" ,1st Quarter,2nd Quarter,3rd Quarter,4th Quarter";
SourceExpr=Quarter;
OnValidate=BEGIN
IF Quarter <> Quarter::" " THEN
Month := Month::" ";
END;
}
{ 1000000002;2;Field ;
CaptionML=ENU=Min Payment Amount;
Numeric=No;
SourceExpr=MinPaymentAmount;
OnValidate=BEGIN
WHILE STRLEN(DeclarationNum) < MAXSTRLEN(DeclarationNum) DO
DeclarationNum := '0' + DeclarationNum;
END;
}
{ 1000000000;2;Field ;
CaptionML=ENU=GL Acc. for Payments in Cash;
SourceExpr=ColumnGLAcc;
Editable=FALSE;
OnAssistEdit=VAR
GLAccSelectionBuf@1000000001 : Record 10726;
BEGIN
GLAccSelectionBuf.SetGLAccSelectionMultiple(ColumnGLAcc,GLAccFilterString);
END;
}
{ 1100007;2;Field ;
CaptionML=ENU=Contact Name;
SourceExpr=ContactName }
{ 1100009;2;Field ;
CaptionML=ENU=Telephone Number;
Numeric=Yes;
SourceExpr=ContactTelephone;
OnValidate=BEGIN
IF STRLEN(ContactTelephone) <> MAXSTRLEN(ContactTelephone) THEN
ERROR(Text10710,MAXSTRLEN(ContactTelephone));
END;
}
{ 1100011;2;Field ;
CaptionML=ENU=Non Deduct. Gen. Prod. Post. Groups;
SourceExpr=ColumnGPPG;
Editable=FALSE;
OnAssistEdit=VAR
GPPGSelectionBuf@1100000 : Record 10730;
BEGIN
GPPGSelectionBuf.SetNonDedGPPGSelectMultiple340(ColumnGPPG,GPPGFilterString);
END;
}
{ 1100015;2;Field ;
CaptionML=ENU=Declaration Number;
Numeric=Yes;
SourceExpr=DeclarationNum;
OnValidate=BEGIN
WHILE STRLEN(DeclarationNum) < MAXSTRLEN(DeclarationNum) DO
DeclarationNum := '0' + DeclarationNum;
END;
}
{ 1100017;2;Field ;
CaptionML=ENU=Electronic Code;
SourceExpr=ElectronicCode;
OnValidate=BEGIN
IF STRLEN(ElectronicCode) <> MAXSTRLEN(ElectronicCode) THEN
ERROR(Text10714,MAXSTRLEN(ElectronicCode));
END;
}
{ 1100019;2;Field ;
CaptionML=ENU=Declaration Media Type;
OptionCaptionML=ENU=Telematic,CD-R;
SourceExpr=DeclarationMediaType }
{ 1100021;2;Field ;
CaptionML=ENU=Replacement Declaration;
SourceExpr=ReplaceDeclaration;
OnValidate=BEGIN
ReplaceDeclarationOnPush;
END;
}
{ 1100023;2;Field ;
Name=PrevDeclarationNum;
CaptionML=ENU=Previous Declaration Number;
Numeric=Yes;
SourceExpr=PrevDeclareNum;
Enabled=PrevDeclarationNumEnable;
OnValidate=BEGIN
IF (STRLEN(PrevDeclareNum) <> MAXSTRLEN(PrevDeclareNum)) OR (STRPOS(PrevDeclareNum, ' ') <> 0) THEN
ERROR(Text10715,MAXSTRLEN(PrevDeclareNum));
END;
}
{ 1100025;2;Field ;
Name=FileNameTextBox;
CaptionML=ENU=File Name;
SourceExpr=FileName;
Visible=FileNameTextBoxVisible;
OnAssistEdit=BEGIN
FileName := CommonDialogMgt.OpenFile(Text10709,FileName,1,Text10708,1);
END;
}
// End of the lines.
}
...