zoukankan      html  css  js  c++  java
  • 采购订单目的地类型的验证逻辑

    -- Validation Logic:
    --   If not null, validate destination_type_code based on item_status,
    --   accrue_on_receipt_flag, transaction_flow_header_id;
    --
    -- Validation Business Rules
    -- item status
    -- 'O'  =  outside processing item
    --         - destination type must be SHOP FLOOR
    -- 'E'  =  item stockable in the org
    --         - destination type cannot be SHOP FLOOR
    -- 'D'  =  item defined but not stockable in org
    --         - destination type must be EXPENSE
    -- null =  item not defined in org
    --
    -- accrue on receipt
    -- 'N'     - destination type must be expense
    -- 'Y'     - if expense_accrual = PERIOD END
    --           then destination type code cannot be EXPENSE
    -- Cannot be INVENTORY if item_id is null.
    -- If SHIKYU item, then dest type code must be INVENTORY.

    也就是说物料的目的地类型的值取决于物料的状态,接收应计标识,以及transaction_flow_header_id。

    这些验证逻辑在新增采购订单时是有效的,但是从采购申请创建订单的时候这些限制有没有了。

    目的地类型影响会计科目的生成。 
  • 相关阅读:
    git分支合并
    php错误处理
    php面试全套
    php面试的那些“黑话”
    快速在命令窗口打开当前路径
    @Autowired注解的使用方法
    jsp页面获取表单的值
    jsp打印九九乘法表
    Google hack
    java中的集合collection
  • 原文地址:https://www.cnblogs.com/benio/p/2598164.html
Copyright © 2011-2022 走看看