Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
intranet-reporting-finance
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
project-open
intranet-reporting-finance
Commits
2df06c83
Commit
2df06c83
authored
May 08, 2020
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Added cash-flow menu
parent
9cbceb4e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
37 additions
and
0 deletions
+37
-0
upgrade-5.0.3.0.1-5.0.3.0.2.sql
sql/postgresql/upgrade/upgrade-5.0.3.0.1-5.0.3.0.2.sql
+37
-0
No files found.
sql/postgresql/upgrade/upgrade-5.0.3.0.1-5.0.3.0.2.sql
0 → 100644
View file @
2df06c83
-- 5.0.3.0.1-5.0.3.0.2.sql
SELECT
acs_log__debug
(
'/packages/intranet-reporting-finance/sql/postgresql/upgrade/upgrade-5.0.3.0.1-5.0.3.0.2.sql'
,
''
);
select
im_menu__delete
(
(
select
menu_id
from
im_menus
where
label
=
'reporting-finance-cash-flow'
and
package_name
=
'intranet-reporting-finance'
)
);
SELECT
im_menu__new
(
null
,
'im_menu'
,
now
(),
null
,
null
,
null
,
'intranet-reporting-finance'
,
-- package_name
'reporting-finance-cash-flow'
,
-- label
'Finance - Cash Flow'
,
-- name
'/intranet-reporting-finance/finance-cash-flow'
,
-- url
50
,
-- sort_order
(
select
menu_id
from
im_menus
where
label
=
'reporting-finance'
),
null
-- p_visible_tcl
);
SELECT
acs_permission__grant_permission
(
(
select
menu_id
from
im_menus
where
label
=
'reporting-finance-cash-flow'
),
(
select
group_id
from
groups
where
group_name
=
'Senior Managers'
),
'read'
);
SELECT
acs_permission__grant_permission
(
(
select
menu_id
from
im_menus
where
label
=
'reporting-finance-cash-flow'
),
(
select
group_id
from
groups
where
group_name
=
'Accounting'
),
'read'
);
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment