zoukankan      html  css  js  c++  java
  • 客戶的相關設定(如收貨方,收單據方,帳戶幣種,信用限額,銷售員,銷售助理,付款方法,發運方式等)

    -- 客戶的一些相關設定,如收貨方,收單據方,帳戶幣種,信用限額,銷售員,銷售助理,付款方法,發運方式等。

    SELECT *
    FROM (SELECT hcsua.org_id,                         --組織ID
                 hcpa.cust_account_id AS customer_id,  -- 客戶ID
                 hcpa.currency_code AS curr_code,       -- 幣種
                 LAST_VALUE(overall_credit_limit) OVER(PARTITION BY hcsua.org_id, hcpa.cust_account_id, hcpa.currency_code) AS credit_limit   --信用限額
           FROM  apps.hz_cust_site_uses_all hcsua,
                        apps.hz_cust_profile_amts hcpa
          WHERE  hcpa.site_use_id = hcsua.site_use_id
            AND  hcsua.status = 'A'   --客戶是否有效
            and  hcsua.org_id=110
            and  hcpa.cust_account_id = 2321
       ORDER BY  hcpa.cust_account_id,
                            hcpa.currency_code,
                            hcpa.object_version_number)
    GROUP BY org_id, customer_id, curr_code, credit_limit
    ORDER BY org_id, customer_id, curr_code, credit_limit;

    image

    image

    image

    image

    image

    image

  • 相关阅读:
    aspx有"记住我"的登录
    Aspx比较简单的登录
    内容显示分页数字分页 aspx
    Ashx登录
    Aspx 验证码_各种封装
    IsPostBack的使用
    Ashx增删改查_动软
    一般处理程序ashx
    dispatch_after
    pch文件的作用
  • 原文地址:https://www.cnblogs.com/quanweiru/p/2741194.html
Copyright © 2011-2022 走看看