博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
格式化 金额,日期
阅读量:5128 次
发布时间:2019-06-13

本文共 2988 字,大约阅读时间需要 9 分钟。

LOAD t_AR_receivable.LE_ID,

[t_AR_receivable.LCY CODE],
t_AR_receivable.SYSTEM,
date(num#(t_AR_receivable.#DataDateTime, '#.##0,0', ',', '.')) ,
date(num#(t_AR_receivable.#DataDate, '#.##0,0', ',', '.')) ,
t_AR_receivable.FID as FID,
t_AR_receivable.FBILLNO as SALES_GROSS_SALES.process_id,
t_AR_receivable.FCUSTOMERID as FCUSTOMERID,
date(num#(t_AR_receivable.FCREATEDATE, '#.##0,0', ',', '.')) AS SALES_GROSS_SALES.date,
t_AR_receivable.FCURRENCYID as FCURRENCYID ,
t_AR_receivable.FSALEERID as FSALEERID
FROM
[C:\Users\thinkpad\Desktop\QLIKVIEW\SalesGrossSales\t_AR_receivable.qvd]
(qvd);

Inner join

LOAD T_AR_RECEIVABLEENTRY.LE_ID,

[T_AR_RECEIVABLEENTRY.LCY CODE],
T_AR_RECEIVABLEENTRY.SYSTEM,
T_AR_RECEIVABLEENTRY.#DataDateTime,
T_AR_RECEIVABLEENTRY.#DataDate,
T_AR_RECEIVABLEENTRY.FID AS FID,
T_AR_RECEIVABLEENTRY.FENTRYID AS FENTRYID,
T_AR_RECEIVABLEENTRY.FMATERIALID AS FMATERIALID,
T_AR_RECEIVABLEENTRY.FSEQ AS SALES_GROSS_SALES.process_pos_nr,
num#(T_AR_RECEIVABLEENTRY.FALLAMOUNTFOR, '####,##', ',', '.') AS SALES_GROSS_SALES.amount,
num#(T_AR_RECEIVABLEENTRY.FPRICEQTY, '####,##', ',', '.') AS SALES_GROSS_SALES.qty
FROM
[C:\Users\thinkpad\Desktop\QLIKVIEW\SalesGrossSales\T_AR_RECEIVABLEENTRY.qvd]
(qvd);

left join

LOAD T_BD_CUSTOMER.LE_ID,

[T_BD_CUSTOMER.LCY CODE],
T_BD_CUSTOMER.SYSTEM,
T_BD_CUSTOMER.#DataDateTime,
T_BD_CUSTOMER.#DataDate,
T_BD_CUSTOMER.FCUSTID as FCUSTOMERID,
T_BD_CUSTOMER.FNUMBER AS SALES_GROSS_SALES.customer.id
FROM
[C:\Users\thinkpad\Desktop\QLIKVIEW\SalesGrossSales\T_BD_CUSTOMER.qvd]
(qvd);

Left Join

LOAD T_BD_CURRENCY.LE_ID,
[T_BD_CURRENCY.LCY CODE],
T_BD_CURRENCY.SYSTEM,
T_BD_CURRENCY.#DataDateTime,
T_BD_CURRENCY.#DataDate,
T_BD_CURRENCY.FCURRENCYID AS FCURRENCYID ,
T_BD_CURRENCY.FCODE AS SALES_GROSS_SALES.currency
FROM
[C:\Users\thinkpad\Desktop\QLIKVIEW\SalesGrossSales\T_BD_CURRENCY.qvd]
(qvd);

Left join

LOAD T_BD_MATERIAL.LE_ID,

[T_BD_MATERIAL.LCY CODE],
T_BD_MATERIAL.SYSTEM,
T_BD_MATERIAL.#DataDateTime,
date(num#(T_BD_MATERIAL.#DataDate, '#.##0,0', ',', '.')) AS T_BD_MATERIAL.#DataDate,
T_BD_MATERIAL.FMATERIALID as FMATERIALID,
T_BD_MATERIAL.FNUMBER as SALES_GROSS_SALES.article.id
FROM
[C:\Users\thinkpad\Desktop\QLIKVIEW\SalesGrossSales\T_BD_MATERIAL.qvd]
(qvd);

Left join

LOAD T_BD_OPERATORENTRY.LE_ID,

[T_BD_OPERATORENTRY.LCY CODE],
T_BD_OPERATORENTRY.SYSTEM,
T_BD_OPERATORENTRY.#DataDateTime,
T_BD_OPERATORENTRY.#DataDate,
T_BD_OPERATORENTRY.fentryid as FENTRYID,
T_BD_OPERATORENTRY.FSTAFFID as SALES_GROSS_SALES.sales.representative_id
FROM
[C:\Users\thinkpad\Desktop\QLIKVIEW\SalesGrossSales\T_BD_OPERATORENTRY.qvd]
(qvd);
Left join

LOAD T_BD_STAFF_L.LE_ID,

[T_BD_STAFF_L.LCY CODE],
T_BD_STAFF_L.SYSTEM,
T_BD_STAFF_L.#DataDateTime,
T_BD_STAFF_L.#DataDate,
T_BD_STAFF_L.FSTAFFID as SALES_GROSS_SALES.sales.representative_id,
T_BD_STAFF_L.FNAME as SALES_GROSS_SALES.sales.representative.Code
FROM
[C:\Users\thinkpad\Desktop\QLIKVIEW\SalesGrossSales\T_BD_STAFF_L.qvd]
(qvd);

 

转载于:https://www.cnblogs.com/RogerLu/p/11471361.html

你可能感兴趣的文章
在ScrollView下加入的组件,不能自动扩展到屏幕高度
查看>>
运维基础-Linux发展史、安装、基本操作
查看>>
win7系统激活最简单方法
查看>>
布尔表达式
查看>>
MySQL设置字段的默认值为当前系统时间
查看>>
springBoot之HelloWorld
查看>>
.net framework 4.5为啥在IIS中找不到了
查看>>
python扫描端口脚本
查看>>
实现一个string类
查看>>
leetcode 之Swap Nodes in Pairs(21)
查看>>
后RCNN时代的物体检测及实例分割进展
查看>>
File类的创建,删除文件
查看>>
Cookie/Session机制详解
查看>>
Struts随笔
查看>>
php保留小数方式
查看>>
软件工程第3次作业 | 提问回顾与个人总结
查看>>
读锁跟写锁的区别
查看>>
铁大通。
查看>>
【22】java初始化(静态变量)
查看>>
【38】通过继承扩展接口
查看>>