#qmd_dispCDRDistrProfile.cdr_dstname#Add New Distributor

ArrayAppend( myTabConfig.tabSet, buildDistributorTab( "dtl", "Profile", true, true, client.cdr_selectedTab eq "dtl" )); if((( client.ownerId eq 1984 or client.ownerId eq 1644 ) and client.ownerType eq "MFR" ) or cgi.server_name eq "dev.fsenablers.com" or listFind( client.permissionList, "MarketManagementApp" )) { ArrayAppend( myTabConfig.tabSet, buildDistributorTab( "pp", "Purchasing", tabEnabled, tabEnabled, client.cdr_selectedTab eq "pp" )); ArrayAppend( myTabConfig.tabSet, buildDistributorTab( "spl", "Opportunities", tabEnabled, tabEnabled, client.cdr_selectedTab eq "spl" )); } ArrayAppend( myTabConfig.tabSet, buildDistributorTab( "cntct", "Contacts", tabEnabled, tabEnabled, client.cdr_selectedTab eq "cntct" )); ArrayAppend( myTabConfig.tabSet, buildDistributorTab( "notes", "Notes", tabEnabled, tabEnabled, client.cdr_selectedTab eq "notes" )); ArrayAppend( myTabConfig.tabSet, buildDistributorTab( "files", "Files", tabEnabled, tabEnabled, client.cdr_selectedTab eq "files" )); #distributorTabSet#