|
|||||||
|
|||||||
|
Name
|
ID
|
DataType
|
ListSharePointListCode
|
4065001
|
Code[20]
|
WorkFlowListSharePointListCode
|
4065002
|
Code[20]
|
SharePointListSetupExists
|
4065003
|
Boolean
|
SharePointLibrarySetupExists
|
4065004
|
Boolean
|
ShowWebBrowser
|
4065005
|
Boolean
|
WorkFlowListSetupExists
|
4065006
|
Boolean
|
AllowDeleteRecords
|
4065007
|
Boolean
|
ShowSmartTree
|
4065008
|
Boolean
|
SmartTreeDisplay
|
4065009
|
Option (FactBox,HideFactBox,NewPage)
|
LineListSharePointListCode
|
4065020
|
Code[20]
|
LineWorkFlowListSharePointListCode
|
4065021
|
Code[20]
|
LineSharePointListSetupExists
|
4065022
|
Boolean
|
LineSharePointLibrarySetupExists
|
4065023
|
Boolean
|
LineShowWebBrowser
|
4065024
|
Boolean
|
LineWorkFlowListSetupExists
|
4065025
|
Boolean
|
LineAllowDeleteRecords
|
4065026
|
Boolean
|
LineShowSmartTree
|
4065027
|
Boolean
|
LineSmartTreeDisplay
|
4065028
|
Option (FactBox,HideFactBox,NewPage)
|
Name
|
ID
|
CaptionML
|
PagePartID
|
Visible
|
PartType
|
ApplicationArea
|
WebBrowser
|
4065100
|
ENU=NavSherpa Library Insight
|
Page4065017
|
ShowWebBrowser
|
Page
|
#NavSherpa
|
Name
|
ID
|
CaptionML
|
PagePartID
|
Visible
|
PartType
|
ApplicationArea
|
DragAndDropDocumentsToSP
|
4065101
|
ENU=NavSherpa Smart Tree
|
Page4065013
|
ShowSmartTree
|
Page
|
#NavSherpa
|
SharePointWFStatusFactbox
|
4065102
|
ENU=WorkFlow Status (NavSherpa)
|
Page4065021
|
WorkFlowListSetupExists
|
Page
|
#NavSherpa
|
LineSharePointWFStatusFactbox
|
4065103
|
ENU=Lines WorkFlow Status (NavSherpa)
|
Page4065020
|
LineWorkFlowListSetupExists
|
Page
|
#NavSherpa
|
Name
|
ID
|
CaptionML
|
Image
|
NavSherpa
|
4065000
|
ENU=NavSherpa
|
Web
|
Name
|
ID
|
CaptionML
|
Visible
|
Image
|
Promoted
|
PromotedIsBig
|
PromotedCategory
|
PromotedOnly
|
ApplicationArea
|
SPLink
|
4065001
|
ENU=SP Link
|
SharePointListSetupExists
|
LinkWeb
|
Yes
|
Yes
|
Process
|
No
|
#NavSherpa
|
OnAction=VAR
NavSherpaInterface@4065000 : Codeunit 4065007;
BEGIN
NavSherpaInterface.OpenSharePointListLink('',Rec);
END;
| |||||||||
AdvWorkFlow
|
4065002
|
ENU=Advanced WorkFlow
|
WorkflowListSetupExists
|
WorkCenterLoad
|
Yes
|
Yes
|
Process
|
No
|
#NavSherpa
|
OnAction=VAR
NavSherpaInterface@4065000 : Codeunit 4065007;
BEGIN
NavSherpaInterface.StartWorkflow('',Rec,TRUE,FALSE,Rec,0);
END;
| |||||||||
CopyToSP
|
4065003
|
ENU=Copy to SP
|
SharePointListSetupExists
|
ExportElectronicDocument
|
No
|
No
|
Process
|
No
|
#NavSherpa
|
OnAction=VAR
NavSherpaInterface@4065000 : Codeunit 4065007;
BEGIN
NavSherpaInterface.UpdateListItems('','',FALSE,Rec,TRUE,FALSE);
END;
| |||||||||
RemFromSP
|
4065004
|
ENU=Remove from SP
|
AllowDeleteRecords
|
VoidElectronicDocument
|
No
|
No
|
Process
|
No
|
#NavSherpa
|
OnAction=VAR
NavSherpaInterface@4065000 : Codeunit 4065007;
BEGIN
NavSherpaInterface.UpdateListItems('','',TRUE,Rec,TRUE,FALSE);
END;
| |||||||||
SmartTree
|
4065005
|
ENU=Smart Tree
|
SmartTreeDisplay <> SmartTreeDisplay::FactBox
|
CopyFromBOM
|
Yes
|
Yes
|
Process
|
Yes
|
#NavSherpa
|
OnAction=VAR
DragAndDropFactbox@4065000 : Page 4065013;
BEGIN
IF SmartTreeDisplay = SmartTreeDisplay::HideFactBox THEN BEGIN
ShowSmartTree := NOT ShowSmartTree;
CurrPage.UPDATE;
END
ELSE BEGIN
DragAndDropFactbox.SetEditable(CurrPage.EDITABLE);
DragAndDropFactbox.SetRecordRecord(Rec);
DragAndDropFactbox.RUN;
END;
END;
| |||||||||
AccessGroup
|
4065006
|
ENU=Access Group
|
SharePointLibrarySetupExists
|
UserCertificate
|
Yes
|
Yes
|
Process
|
No
|
#NavSherpa
|
OnAction=VAR
AccessGroupMgt@4065000 : Codeunit 4065006;
OriginalView@4065001 : Text;
BEGIN
OriginalView := GETVIEW(FALSE);
CurrPage.SETSELECTIONFILTER(Rec);
AccessGroupMgt.EditRecordAccessUsersLookup(Rec);
SETVIEW(OriginalView);
MARKEDONLY(FALSE);
END;
|
LOCAL PROCEDURE UpdateNavSherpaControls@4065001();
VAR
NavSherpaInterface@4065000 : Codeunit 4065007;
NavSherpaSetup@4065001 : Record 4065016;
PurchaseLine@4065002 : Record 39;
BEGIN
IF NavSherpaSetup.READPERMISSION THEN BEGIN
NavSherpaInterface.GetSharePointSettings(ListSharePointListCode,WorkFlowListSharePointListCode,SharePointListSetupExists,SharePointLibrarySetupExists
,ShowWebBrowser,WorkFlowListSetupExists,AllowDeleteRecords,SmartTreeDisplay,Rec);
ShowSmartTree := SharePointLibrarySetupExists AND ((SmartTreeDisplay = SmartTreeDisplay::FactBox) OR ShowSmartTree);
IF SharePointLibrarySetupExists THEN BEGIN
CurrPage.DragAndDropDocumentsToSP.PAGE.SetEditable(CurrPage.EDITABLE);
CurrPage.DragAndDropDocumentsToSP.PAGE.SetRecordRecord(Rec);
IF ShowWebBrowser THEN
CurrPage.WebBrowser.PAGE.SetURLByFilterRecord(CurrPage.DragAndDropDocumentsToSP.PAGE.GetSelectedLibraryCode,ListSharePointListCode,Rec,Rec);
END;
IF WorkFlowListSetupExists THEN BEGIN
CurrPage.SharePointWFStatusFactbox.PAGE.SetWFMappingFilter('',Rec);
END;
NavSherpaInterface.GetSharePointSettings(LineListSharePointListCode,LineWorkFlowListSharePointListCode
,LineSharePointListSetupExists,LineSharePointLibrarySetupExists
,LineShowWebBrowser,LineWorkFlowListSetupExists,LineAllowDeleteRecords,LineSmartTreeDisplay,PurchaseLine);
LineShowSmartTree := LineSharePointLibrarySetupExists AND ((LineSmartTreeDisplay = LineSmartTreeDisplay::FactBox) OR LineShowSmartTree);
IF LineWorkFlowListSetupExists THEN BEGIN
PurchaseLine.RESET;
PurchaseLine.SETRANGE("Document Type","Document Type");
PurchaseLine.SETRANGE("Document No.","No.");
CurrPage.LineSharePointWFStatusFactbox.PAGE.SetWFMappingFilter('',PurchaseLine,TRUE,PurchaseLine.FIELDNO("Line No."));
END;
END;
END;
|
CurrPage.DragAndDropDocumentsToSP.PAGE.SetEditable(CurrPage.EDITABLE);
|
CurrPage.DragAndDropDocumentsToSP.PAGE.SetEditable(TRUE);
|
CurrPage.LineSharePointWFStatusFactbox.PAGE.SetWFMappingFilter('',OpportunityEntry,TRUE,OpportunityEntry.FIELDNO("Sales Cycle Stage"));
|
UpdateNavSherpaControls;
|
UpdateNavSherpaControls;
|
Name
|
ID
|
DataType
|
ListSharePointListCode
|
4065001
|
Code[20]
|
WorkFlowListSharePointListCode
|
4065002
|
Code[20]
|
SharePointListSetupExists
|
4065003
|
Boolean
|
SharePointLibrarySetupExists
|
4065004
|
Boolean
|
ShowWebBrowser
|
4065005
|
Boolean
|
WorkFlowListSetupExists
|
4065006
|
Boolean
|
AllowDeleteRecords
|
4065007
|
Boolean
|
Name
|
ID
|
CaptionML
|
NavSherpa
|
4065000
|
ENU=NavSherpa
|
Name
|
ID
|
CaptionML
|
Visible
|
Image
|
Promoted
|
PromotedIsBig
|
PromotedCategory
|
ApplicationArea
|
SPLink
|
4065001
|
ENU=SP Link
|
SharePointListSetupExists
|
LinkWeb
|
Yes
|
Yes
|
Process
|
#NavSherpa
|
OnAction=VAR
NavSherpaInterface@4065000 : Codeunit 4065007;
BEGIN
NavSherpaInterface.OpenSharePointListLink('',Rec);
END;
| ||||||||
AdvWorkFlow
|
4065002
|
ENU=Advanced WorkFlow
|
WorkflowListSetupExists
|
WorkCenterLoad
|
Yes
|
Yes
|
Process
|
#NavSherpa
|
OnAction=VAR
NavSherpaInterface@4065000 : Codeunit 4065007;
BEGIN
NavSherpaInterface.StartWorkflow('',Rec,TRUE,FALSE,Rec,0);
END;
| ||||||||
CopyToSP
|
4065003
|
ENU=Copy to SP
|
SharePointListSetupExists
|
ExportElectronicDocument
|
No
|
No
|
Process
|
#NavSherpa
|
OnAction=VAR
NavSherpaInterface@4065000 : Codeunit 4065007;
BEGIN
NavSherpaInterface.UpdateListItems('','',FALSE,Rec,TRUE,FALSE);
END;
| ||||||||
RemFromSP
|
4065004
|
ENU=Remove from SP
|
AllowDeleteRecords
|
VoidElectronicDocument
|
No
|
No
|
Process
|
#NavSherpa
|
OnAction=VAR
NavSherpaInterface@4065000 : Codeunit 4065007;
BEGIN
NavSherpaInterface.UpdateListItems('','',TRUE,Rec,TRUE,FALSE);
END;
|
LOCAL PROCEDURE UpdateNavSherpaControls@4065001();
VAR
NavSherpaInterface@4065000 : Codeunit 4065007;
NavSherpaSetup@4065001 : Record 4065016;
BEGIN
IF NavSherpaSetup.READPERMISSION THEN BEGIN
NavSherpaInterface.GetSharePointSettings(ListSharePointListCode,WorkFlowListSharePointListCode,SharePointListSetupExists,SharePointLibrarySetupExists
,ShowWebBrowser,WorkFlowListSetupExists,AllowDeleteRecords,SmartTreeDisplay,Rec);
ShowSmartTree := SharePointLibrarySetupExists AND ((SmartTreeDisplay = SmartTreeDisplay::FactBox) OR ShowSmartTree);
END;
END;
|
UpdateNavSherpaControls;
|
UpdateNavSherpaControls;
|