- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
为了遵守法规,我尝试从我的一些部门下载采购发票文件(PDF 文件),将它们保存在磁盘上以供存档。
我使用 Invantive 查询工具来执行此操作。我想知道使用哪个表以及如何仅针对采购发票文档导出这些附件。
最佳答案
您确实可以通过使用 Invantive Query Tool 或 Invantive Data Hub 中的导出选项来做到这一点。
您需要的是将类型 20(采购发票)的文档信息与实际附件文件 Hook 的查询。您可以在 DocumentTypes
View 中找到类型列表及其描述。您可以在 DocumentAttachmentFiles
表中找到文档附件。
当您检索到它时,您可以使用 local export documents
语句将文档从该查询导出到磁盘。
完整的查询在这里:
use 123456
select /*+ join_set(dae, document, 10000) */ attachmentfromurl
, dct.division || '/' || dae.id || '-' || filename
filepath
from exactonlinerest..documents dct
join DocumentAttachmentFiles dae
on dae.division = dct.division
and dae.document = dct.id
where dct.Type = 20
order
by dct.division
, dae.id
local export documents in attachmentfromurl to "c:\temp\docs" filename column Filepath
确保在 use
语句中正确设置部门 ID(这是技术 ID,而不是“部门编号”,它可以包含重复项)。您可以在分区 下的顶部菜单栏中找到它。或者简单地使用 use all
从所有部门获取文档(这可能需要一段时间)。
现在还要将文件路径设置在 c:\temp\docs
的位置。然后在查询工具中按 F5 键执行,或从 Data Hub 运行脚本。
关于exact-online - 如何使用 Invantive Query Tool 从 Exact Online 仅下载我的采购发票文件?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46366297/
我正在尝试在主目录中设置.vimrc文件。它包含的唯一内容是以下内容。 " Enable syntax highlighting syntax on 每当我想要来源运行. ~/.vimrc的文件时,都
我有权访问我试图在其上运行 Django REST 应用程序的 Dreamhost 子域。该服务器在 Ubuntu 12.04.5 LTS 上运行。我的虚拟环境出了点问题,所以我正在尝试关注 Drea
我已经在这个语法错误上停留了几个小时,有人可以帮我吗? root@wxserv:~/rap# source ~/.cshrc bash: /home/kbroeren/.cshrc: line 9:
我有一个如下所示的 bash 脚本 a.sh: #!/bin/bash echo $# echo $1 和一个如下所示的脚本 b.sh: #!/bin/bash source ./a.sh 如果我调用
我有一个如下所示的 bash 脚本 a.sh: #!/bin/bash echo $# echo $1 和一个如下所示的脚本 b.sh: #!/bin/bash source ./a.sh 如果我调用
在我的.cshrc中,LD_LIBRARY_PATH原来是这样的: setenv LD_LIBRARY_PATH path_one:$LD_LIBRARY_PATH 我编辑 .cshrc 以将 pat
我原来的 .bashrc 脚本目前用于运行模型运行。现在我需要操纵它来编译一个全新的模型。 我的问题是,如果我将原始 .bashrc 保存为诸如 .bwwbashrc 之类的东西,我是否需要以某种方式
最近,我遇到了 Linux 命令 source 然后找到了 this answer关于它的作用。 我的理解是 source 执行传递给它的文件,它确实适用于一个简单的 shell 脚本。然后我尝试在
我有一个脚本,用于在调用 csh shell 中设置一些环境变量。其中一些变量取决于脚本的位置。 如果该文件是正确的 csh 脚本,我可以使用 $0 访问 __FILE__但如果我使用源代码运行脚本,
我在“Ubuntu 14.04.5 LTS”上新安装了 Anaconda (Anaconda3-2019.07-Linux-x86_64),但激活安装失败: source ~/.bashrc返回 Il
有没有办法从网络上获取 R 脚本? 例如source('http://github.com/project/R/file.r') 原因:我目前有一个项目,我想让它可供使用,但还没有准备好打包。因此,最
我发现在使用 && 进行流水线处理时,获取以下 bash 脚本不会导致命令序列停止。 sourceme.sh: #!/usr/bin/env bash set -o errexit set -o |
我目前正在尝试使用 python 为我的团队编写一些组件测试,我遇到了一个测试程序,该程序告诉测试人员获取一个 csh 文件。这个文件有一堆 setenv 命令和别名。链中的下一个可执行文件需要所有这
我正在运行 neovim 0.7.0,我的 .vimrc 位于 ~/.config/nvim/init.vim 我还有以下文件:~/.config/nvim/lua/statusline.lua 一行
我正在运行 neovim 0.7.0,我的 .vimrc 位于 ~/.config/nvim/init.vim 我还有以下文件:~/.config/nvim/lua/statusline.lua 一行
代码片段取自 chernan's sample REST queries用于定义 R6 类的一个私有(private)方法、两个公共(public)属性和一个构造函数: library(R6) lib
我正在阅读 O'Reilly 出版的“Learning MySQL”一书,我正在尝试获取本书网站上发布的以下 SQL 代码: DROP DATABASE IF EXISTS music; CREATE
我在从我的 Ubuntu 10.04 .profile 获取 Ruby 版本管理器 rvm 时遇到问题。代码: [[ -s "$HOME/.rvm/scripts/rvm" ] && . "$HOME
我想将 Anaconda Python 作为我的默认 Python 环境。 为了在系统 Python 上使用 Anaconda,我一直在研究以下两个选项: 将 Anaconda bin 路径添加到我的
这类似于 How to source R Markdown file like `source('myfile.r')`?有以下区别:我希望我的 Markdown 文件生成一个 R 脚本以供将来采购。
我是一名优秀的程序员,十分优秀!