Please help me to look what this code does have to affect?

rock_luorock_luo Member Posts: 3
Everybody good:
My here has two sections of codes, I cannot understand it to have any function, invites inside the forum the master helps me to look at.

Thanks
OBJECT Table 50990 Saved Filter Header
{
OBJECT-PROPERTIES
{
Date=11/07/05;
Time=12:59:49;
Modified=Yes;
Version List=PDM - V2.1;
}
PROPERTIES
{
OnDelete=BEGIN
SavedLines.SETRANGE("Filter Code","Filter Code");
SavedLines.DELETEALL;
END;

LookupFormID=Form50996;
DrillDownFormID=Form50996;
}
FIELDS
{
{ 1 ; ;Filter Code ;Code10 }
{ 3 ; ;Description ;Text60 }
{ 9 ; ;Table No. ;Integer ;OnValidate=BEGIN
IF Table.GET(COMPANYNAME,"Table No.") THEN
"Table Name" := Table."Table Name";
END;
}
{ 11 ; ;Table Name ;Text30 }
}
KEYS
{
{ ;Filter Code }
}
CODE
{
VAR
Table@1000000000 : Record 2000000028;
SavedLines@1000000001 : Record 50991;

BEGIN
{
// Import/Export Navision Tables From Excel v2.1
// PDM 29-09-03
// E-mail: Pedro_dupic@hotmail.com
// PORTUGAL
}
END.
}
}

OBJECT Table 50991 Saved Filter Lines
{
OBJECT-PROPERTIES
{
Date=11/07/05;
Time=12:59:49;
Modified=Yes;
Version List=PDM - V2.1;
}
PROPERTIES
{
LookupFormID=Form50993;
DrillDownFormID=Form50993;
}
FIELDS
{
{ 1 ; ;Filter Code ;Code10 }
{ 3 ; ;Field No. ;Integer }
{ 5 ; ;Field Caption ;Text30 }
{ 7 ; ;Field Filter ;Text250 }
{ 9 ; ;Table No. ;Integer ;OnValidate=BEGIN
IF Table.GET(COMPANYNAME,"Table No.") THEN
"Table Name" := Table."Table Name";
END;
}
{ 11 ; ;Table Name ;Text30 }
}
KEYS
{
{ ;Filter Code,Field No. }
}
CODE
{
VAR
Table@1000000000 : Record 2000000028;

BEGIN
{
// Import/Export Navision Tables From Excel v2.1
// PDM 29-09-03
// E-mail: Pedro_dupic@hotmail.com
// PORTUGAL
}
END.
}
}

Has knew these two sections of codes please send an email to me, the mailbox: alsqa@qq.com

Comments

  • garakgarak Member Posts: 3,263
    I doesn't understand your question.
    These code snipes are 2 tabels. these tables exported as text from object designer. So where is your problem?

    Regards
    Do you make it right, it works too!
  • rock_luorock_luo Member Posts: 3
    Inside this has two table objects, but did not know has any use.
  • kapamaroukapamarou Member Posts: 1,152
    It could be part of a larger set of objects... The documentation at some point says somthing about excel import/export... Do you have to do something with these objects?
  • garakgarak Member Posts: 3,263
    Both tables are not Navision standard (because > 50000) so it's customized.
    Normaly all object of a module are in the same id range. So checkt the objacts around the id "50990".

    If you are a partner you can use the DevTool to find out where the tables are used.
    Also possible: extract the objects as text, open it in an Editor and search for it (for exapmle for 50990).

    Regards
    Do you make it right, it works too!
  • awarnawarn Member Posts: 261
    You could always email the developer, as his email is in both objects...
Sign In or Register to comment.