Hi all, open the page 99000786 in design mode and go to the Action Container. As you can see, there are two containers: Navigate (RelatedInformation) and ActionItems. If you run the page, those tabs are not visibile and if I add some actions to one of the tabs, I cannot see them into the page runtime but just in the Page Preview mode. I dind't find any property or line of code telling the system to hidden the two TABS, so I cannot understand this behaviour. Does anyone knows this?
Thanks in advance
Marco
0
Answers
in 16 i'll see all tabs and buttons
mb u have old version of NAV 16.
OBJECT Page 99000786 Production BOM
{
OBJECT-PROPERTIES
{
Date=25/10/16;
Time=12:00:00;
Version List=NAVW110.00;
}
PROPERTIES
{
CaptionML=[ENU=Production BOM;
ITA=DB produzione];
SourceTable=Table99000771;
PageType=ListPlus;
OnAfterGetRecord=BEGIN
ActiveVersionCode := VersionMgt.GetBOMVersion("No.",WORKDATE,TRUE);
END;
ActionList=ACTIONS
{
{ 1900000003;0 ;ActionContainer;
ActionContainerType=RelatedInformation }
{ 19 ;1 ;ActionGroup;
CaptionML=[ENU=&Prod. BOM;
ITA=DB &prod.];
Image=BOM }
{ 20 ;2 ;Action ;
CaptionML=[ENU=Co&mments;
ITA=Co&mmenti];
RunObject=Page 99000784;
RunPageLink=Table Name=CONST(Production BOM Header),
No.=FIELD(No.);
Image=ViewComments }
{ 13 ;2 ;Action ;
CaptionML=[ENU=Versions;
ITA=Versioni];
RunObject=Page 99000800;
RunPageLink=Production BOM No.=FIELD(No.);
Promoted=Yes;
Image=BOMVersions;
PromotedCategory=Process }
{ 10 ;2 ;Action ;
CaptionML=[ENU=Ma&trix per Version;
ITA=Ma&trice per versione];
Promoted=Yes;
Image=ProdBOMMatrixPerVersion;
PromotedCategory=Process;
OnAction=VAR
BOMMatrixForm@1001 : Page 99000812;
BEGIN
BOMMatrixForm.Set(Rec);
BOMMatrixForm.RUNMODAL;
CLEAR(BOMMatrixForm);
END;
}
{ 21 ;2 ;Action ;
CaptionML=[ENU=Where-used;
ITA=Dove-usato];
Promoted=Yes;
Image=Where-Used;
PromotedCategory=Process;
OnAction=BEGIN
ProdBOMWhereUsed.SetProdBOM(Rec,WORKDATE);
ProdBOMWhereUsed.RUNMODAL;
CLEAR(ProdBOMWhereUsed);
END;
}
{ 1900000004;0 ;ActionContainer;
ActionContainerType=ActionItems }
{ 23 ;1 ;ActionGroup;
CaptionML=[ENU=F&unctions;
ITA=F&unzioni];
Image=Action }
{ 22 ;2 ;Action ;
Ellipsis=Yes;
CaptionML=[ENU=Copy &BOM;
ITA=Copia D&B];
Image=CopyBOM;
OnAction=BEGIN
TESTFIELD("No.");
IF PAGE.RUNMODAL(0,ProdBOMHeader) = ACTION::LookupOK THEN
ProductionBOMCopy.CopyBOM(ProdBOMHeader."No.",'',Rec,'');
END;
}
}
}
CONTROLS
{
{ 1900000001;0;Container;
ContainerType=ContentArea }
{ 1 ;1 ;Group ;
CaptionML=[ENU=General;
ITA=Generale] }
{ 2 ;2 ;Field ;
ToolTipML=[ENU=Specifies the BOM number.;
ITA=Specifica il numero della DB.];
SourceExpr="No.";
OnAssistEdit=BEGIN
IF AssistEdit(xRec) THEN
CurrPage.UPDATE;
END;
}
{ 8 ;2 ;Field ;
ToolTipML=[ENU=Specifies a description for the production BOM.;
ITA=Specifica una descrizione per la DB di produzione.];
SourceExpr=Description }
{ 4 ;2 ;Field ;
ToolTipML=[ENU=Specifies the unit of measure code to which the BOM refers.;
ITA=Specifica il codice unit… di misura a cui si riferisce la DB.];
SourceExpr="Unit of Measure Code" }
{ 6 ;2 ;Field ;
ToolTipML=[ENU=Specifies the status of the production BOM.;
ITA=Specifica lo stato della DB produzione.];
SourceExpr=Status }
{ 14 ;2 ;Field ;
ToolTipML=[ENU=Specifies a search name.;
ITA=Specifica un nome di ricerca.];
SourceExpr="Search Name" }
{ 29 ;2 ;Field ;
ToolTipML=[ENU=Specifies the version number series that the production BOM versions refer to.;
ITA=Specifica la numerazione della versione a cui fanno riferimento le versioni delle DB di produzione.];
SourceExpr="Version Nos." }
{ 26 ;2 ;Field ;
CaptionML=[ENU=Active Version;
ITA=Versione attiva];
ToolTipML=[ENU=Specifies which version of the production BOM is valid.;
ITA=Specifica quale versione della DB di produzione Š valida.];
SourceExpr=ActiveVersionCode;
Editable=FALSE;
OnLookup=VAR
ProdBOMVersion@1002 : Record 99000779;
BEGIN
ProdBOMVersion.SETRANGE("Production BOM No.","No.");
ProdBOMVersion.SETRANGE("Version Code",ActiveVersionCode);
PAGE.RUNMODAL(PAGE::"Production BOM Version",ProdBOMVersion);
ActiveVersionCode := VersionMgt.GetBOMVersion("No.",WORKDATE,TRUE);
END;
}
{ 11 ;2 ;Field ;
ToolTipML=[ENU=Specifies the last date that was modified.;
ITA=Specifica la data dell'ultima modifica.];
SourceExpr="Last Date Modified" }
{ 27 ;1 ;Part ;
Name=ProdBOMLine;
SubPageView=SORTING(Production BOM No.,Version Code,Line No.);
SubPageLink=Production BOM No.=FIELD(No.),
Version Code=CONST();
PagePartID=Page99000788 }
{ 1900000007;0;Container;
ContainerType=FactBoxArea }
{ 1900383207;1;Part ;
Visible=FALSE;
PartType=System;
SystemPartID=RecordLinks }
{ 1905767507;1;Part ;
Visible=TRUE;
PartType=System;
SystemPartID=Notes }
}
CODE
{
VAR
ProdBOMHeader@1000 : Record 99000771;
ProductionBOMCopy@1002 : Codeunit 99000768;
VersionMgt@1003 : Codeunit 99000756;
ProdBOMWhereUsed@1001 : Page 99000811;
ActiveVersionCode@1004 : Code[20];
BEGIN
END.
}
}
sorry, i don't know
UPD. in 17 version on run i didn't see tabs, but see all buttons on main tab then i run page...if i preview page i see all tabs