Oracle报表开发学习记录

时间:2015-04-13 04:53:13
【文件属性】:
文件名称:Oracle报表开发学习记录
文件大小:676KB
文件格式:DOC
更新时间:2015-04-13 04:53:13
EBS Oracle html报表 初学oracle报表开发笔记 -- process report output('<HTML xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel">'); output('<head>'); output('<title>库存现有量报表</title>'); output('<style>'); output('body,table{font-size:13px;font-family:"Book Antiqua","Segoe UI", Tahoma, "Trebuchet MS", verdana, helvetica, arial, sans-serif, Georgia;}.text {mso-number-format:"\@";}.retnum {mso-number-format:"0\.00";}'); output('</style>'); output('</head>'); output('<body>'); output('

库存现有量报表

'); output(''); output(' '); output(''); output(''); output(''); output(''); output(' '); output('
OU:' || g_ou_name || '组织:' || l_organization_name || '
'); output(''); output(' '); output(''); output(''); output(''); output(''); output(''); output(''); output(''); output(''); output(''); output(''); output(' '); FOR cl IN (select OOD.ORGANIZATION_CODE, --库存组织编码 OOD.ORGANIZATION_NAME, --库存组织说明 MSA.SECONDARY_INVENTORY_NAME subinventory_code, --子库编码 MSA.DESCRIPTION subinventory_name, --子库说明 MSIV.SEGMENT1 item_no, --物品编码 MSIV.DESCRIPTION item_desc, --物品说明 MOQD.LOT_NUMBER, --批次 sum(MOQD.Primary_Transaction_Quantity) Primary_Transaction_Quantity, --库存量 MSIV.MIN_MINMAX_QUANTITY, --最小库存量 MSIV.MAX_MINMAX_QUANTITY --最大库存量 from mtl_onhand_quantities_detail moqd, ORG_ORGANIZATION_DEFINITIONS OOD, mtl_subinventories_all_v MSA, MTL_SYSTEM_ITEMS_VL MSIV where moqd.inventory_item_id = msiv.INVENTORY_ITEM_ID and moqd.organization_id = msiv.ORGANIZATION_ID and moqd.organization_id = ood.ORGANIZATION_ID and moqd.subinventory_code = msa.SECONDARY_INVENTORY_NAME and moqd.organization_id = msa.ORGANIZATION_ID group by OOD.ORGANIZATION_CODE, OOD.ORGANIZATION_NAME, MSA.SECONDARY_INVENTORY_NAME, MSA.DESCRIPTION, MSIV.SEGMENT1, MSIV.DESCRIPTION, MOQD.LOT_NUMBER, MSIV.MIN_MINMAX_QUANTITY, MSIV.MAX_MINMAX_QUANTITY) LOOP output(' '); output(' '); output(' '); output(' '); output(' '); output(' '); output(' '); output(' '); output(' '); output(' '); output(' '); output(' ');

网友评论

  • 不是我要的,而且资源很少。不值得下载。
  • 十个积分对这篇文章有点多了吧?我还以为里面有料呢,原来不用下载,看资源介绍就可以了
库存组织编码库存组织说明子库编码子库说明物品编码物品说明批次库存量 最小库存量最大库存量
' || cl.ORGANIZATION_CODE || '' || cl.ORGANIZATION_NAME || '' || cl.subinventory_code || '' || cl.subinventory_name || '' || cl.item_no || '' || cl.item_desc || '' || cl.LOT_NUMBER || '' || cl.Primary_Transaction_Quantity || '' || cl.MIN_MINMAX_QUANTITY || '' || cl.MAX_MINMAX_QUANTITY || '