Oracle Apex:经典报告中的动态计算(Oracle Apex: Dynamic Calculation in Classic Report)
我有一个应用程序,我已经基于SQL查询创建了经典报告
Select summary_id, APEX_ITEM.HIDDEN(1,summary_id)|| APEX_ITEM.TEXT(2,attribute5) attribute5 from summary;
这里summary_id和属性5是数字数据类型。
我有七(7行)记录,其中第5行和第7行是sub_total和total值。
我想根据前一行中值的变化动态计算sub_total和total。
第5行是第1行,第2行,第3行和第4行,第7行是第1行,第2行,第3行,第4行和第6行的合计
如果需要提供任何其他信息以了解问题,请告诉我。
谢谢。
Oracle apex 4.2版本 。
I have an application where I have created the classic report based on SQL query
Select summary_id, APEX_ITEM.HIDDEN(1,summary_id)|| APEX_ITEM.TEXT(2,attribute5) attribute5 from summary;
Here summary_id and attribute 5 are number data type.
I have seven (7 rows) records, where 5th and 7th rows in the column are sub_total and total values.
I want to dynamically calculate the sub_total and total based on change of values in previous rows.
Row5th is total of 1st,2nd,3rd and 4th row and row7th is total of 1st,2nd,3rd,4th and 6th
Please let me know if need to Provide any other information to understand the problem.
Thank you.
Oracle apex 4.2 version.
原文:https://stackoverflow.com/questions/34133688
最满意答案
404的原因是你没有一个
app.yaml
处理程序,其模式匹配/forums/whatever.php
路径。 你需要添加一个。我建议改变一个你现在用
home.php
脚本的通用模式,覆盖app.yaml
任何php脚本路径。 例子 :# Serve php scripts. - url: /(.+\.php)$ script: \1
如果您还想为空路径设置默认处理程序,则需要单独添加它:
- url: / script: index.php
The reason for the 404 is that you don't have an
app.yaml
handler with a pattern matching the/forums/whatever.php
path. You need to add one.I'd recommend changing the one you have now for the
home.php
script with the generic pattern covering any php script path from theapp.yaml
Example:# Serve php scripts. - url: /(.+\.php)$ script: \1
If you also want to have a default handler for an empty path you need to add it separately:
- url: / script: index.php
相关问答
更多-
我更新gcloud时修复了这个问题。 gcloud components update 这是非常糟糕的用户体验,我希望gcloud会让我更新而不是冻结app deploy This was fixed when I updated gcloud. gcloud components update This is really bad UX, and I wish gcloud would have asked me to update instead of freezing app deploy
-
目前,最好的方法是将文件从Docker中提取出来。 将实例放入自我管理模式,以便您可以使用SSH进入: $ gcloud preview app modules set-managed-by default --version 1 --self 找到实例的名称: $ gcloud compute instances list | grep gae-default-1 将其复制出Docker容器,更改权限并将其复制回本地计算机: $ gcloud compute ssh --zone=us-central ...
-
一种方法是使用gcloud的键和标志: projections , - --filters , - --filters 。 要从终端直接阅读更多gcloud topic ,请使用gcloud topic ,例如: gcloud topic projections 为了查看哪些字段/属性可用,使用--format=flattened ,如: gcloud app services list --format=flattened 为了简单起见,我会离开一切,但除了gcloud 。 for SERVICE i ...
-
我结束了这样做: 配置Eclipse以将.class文件放入WEB_INF / classes文件夹中: 项目属性 - > Java Build Path - > Source - >将默认输出文件夹配置为WEB_INF / classes 部署到App Engine: cd D:\path-to-eclipse-workspace\my-project gcloud app deploy src\main\webapp\WEB-INF\appengine-web.xml -v v1 I ended up ...
-
404的原因是你没有一个app.yaml处理程序,其模式匹配/forums/whatever.php路径。 你需要添加一个。 我建议改变一个你现在用home.php脚本的通用模式,覆盖app.yaml任何php脚本路径。 例子 : # Serve php scripts. - url: /(.+\.php)$ script: \1 如果您还想为空路径设置默认处理程序,则需要单独添加它: - url: / script: index.php The reason for the 404 is th ...
-
灵活部署到Google应用程序引擎时出现GCloud权限错误(GCloud permission error when deploying to Google app engine flexible)[2022-06-09]
由于您的Jenkins服务器可能未配置项目,因此请在jenkins作业配置中使用以下命令: 执行shell: #!/bin/sh gcloud -q auth activate-service-account --key-file=${PROJECT_KEY.JSON} gcloud -q config set project ${PROJECT_ID} mvn appengine:deploy 此外,要在Jenkins服务器上提供“gcloud”,您必须在Jenkins中安装插件“Google Depl ... -
现在我解决了这个问题,答案只在错误信息中:在我的app.yaml文件中,从yaml文件中删除application和version行。 那么就不会有这样的错误。 Now I solved this problem, The answer is just in the error message: in my app.yaml file, remove the application and version lines from the yaml file. then there will be no suc ...
-
所有第三方软件包都需要安装在与您的应用相同的目录中。 从应用程序的根目录运行它来安装它。 pip install gcloud -t . Got it working! Use path: import sys sys.path.insert(0, 'lib') Additional: Also need to add protobuf in requirements: protobuf==3.1.0.post1 create __init__.py in google folder: # this i ...
-
为什么子文件夹未部署到Google App Engine nodejs应用程序(Why subfolders are not deployed to Google App Engine nodejs app)[2022-03-17]
gcloud app deploy尊重上传文件时要跳过的两个子文件夹列表: 目录中的任何.dockerignore文件。 使用nodejs运行时,将为您创建一个包含以下条目: node_modules .dockerignore Dockerfile npm-debug.log .git .hg .svn app.yaml文件中的skip_files条目。 默认情况下,匹配以下正则表达式的文件匹配: - ^(.*/)?#.*#$ - ^(.*/)?.*~$ - ^(.*/)?.*\.py[co]$ - ^ ... -
无法部署到gcloud(Cannot deploy to gcloud)[2022-12-28]
看起来像是一个过时的gcloud-maven-plugin ; 请按照此问题进行更新。 您可以通过安装旧版本的gcloud : $ gcloud components update --version 140.0.0 您可能无法更新Cloud Shell上的默认gcloud; 在这种情况下,请使用这些说明安装另一个副本。 Looks like an out-of-date gcloud-maven-plugin; follow this issue for updates. You can work ar ...