QuantityConstant.java 23.2 KB
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935
package com.huaheng.common.constant;

/**
 * 数字自定义常量
 * @author ricard
 */
public class QuantityConstant {
    /**
     * 1、入库单状态
     * 2、出库单状态
     * 3、单据上传状态
     * 4、入库组盘状态
     * 5、出库组盘状态
     * 6、任务类型
     * 7、任务状态
     * 8、波次状态
     * 9、质检状态
     * 10、盘点状态
     * 11、INVENTORY_TRANSACTION_RECEIPT
     * 12、调整单状态
     * 13、任务内部类型
     * 14、质检单类型
     * 15、出入口
     * 16、出库单类型
     * 17、入库单类型
     * 18、码垛位
     * 19、纸箱状态
     * 20、码垛是否成功
     * 21、宁乡货主和仓库编码
     * 22、叉车任务状态
     * 23、数据字典类型
     * 24、erp结果状态
     * 25、erp单据编码
     * 26、erp单据类型
     * 27、物料
     * 28、纸箱标签
     * 29、库区编码
     * 30、U8用户普通角色
     * 31、U8外部api接口接口参数
     * 32、U8仓库
     * 33、数量是否为负数
     * 34、erp项目大类编码
     * 35、容器编码
     * 36、U8形态转换单类型
     * 37、erp制单人
     * 38、erp部门编码
     * 39、erp调拨单模板id
     * 40、wcs data参数
     * 41、库区编码
     * 42、库位高度
     * 43、码垛超时时间
     */

    // 1、入库单状态

    // 新建
    public static final Integer RECEIPT_HEADER_BUILD = 0;

    // 等待审核
    public static final Integer RECEIPT_HEADER_VERIFYING = 5;

    // 驳回
    public static final Integer RECEIPT_HEADER_REJECTED = 10;

    // 作废
    public static final Integer RECEIPT_HEADER_OBSOLETE = 20;

    /** 通过 */
//    public static final Integer RECEIPT_HEADER_APPROVE = 50;

    /** 订单池 */
    public static final Integer RECEIPT_HEADER_POOL = 100;

    // 入库预约
    public static final Integer RECEIPT_HEADER_RESERVATION = 120;

    // 入库到货
    public static final Integer RECEIPT_HEADER_ARRIVAL = 150;

    // 入库质检
    public static final Integer RECEIPT_HEADER_CHECK = 180;

    // 收货
    public static final Integer RECEIPT_HEADER_RECEIVING = 200;

    // 定位
    public static final Integer RECEIPT_HEADER_POSITION = 240;

    // 等待上架
    public static final Integer RECEIPT_HEADER_WAIT = 280;

    /** 上架 */
    public static final Integer RECEIPT_HEADER_SHELF = 300;

    /** 过账 */
    public static final Integer RECEIPT_HEADER_POSTING = 800;

    /** 回传 */
    public static final Integer RECEIPT_HEADER_RETURN = 900;

    // 2、出库单状态

    // 新建
    public static final Integer SHIPMENT_HEADER_BUILD = 0;

    // 订单池
    public static final Integer SHIPMENT_HEADER_POOL = 100;

    // 出库预约
    public static final Integer SHIPMENT_HEADER_RESERVATION = 120;

    // 订单分析
    public static final Integer SHIPMENT_HEADER_ANALYSIS = 150;

    // 波次
    public static final Integer SHIPMENT_HEADER_WAVE = 200;

    // 出库组盘
    public static final Integer SHIPMENT_HEADER_GROUPDISK = 300;

    // 拣货完成
    public static final Integer SHIPMENT_HEADER_COMPLETED = 500;

    // 发运
    public static final Integer SHIPMENT_HEADER_SHIPPING = 800;

    // 回传
    public static final Integer SHIPMENT_HEADER_RETURN = 900;

    // 回传MES
    public static final Integer SHIPMENT_HEADER_RETURN_MES = 1000;

    // 3、单据上传状态

    // 未上传
    public static final Integer UPLOAD_NOT = 0;

    // 上传失败
    public static final Integer UPLOAD_FAILED = 10;

    // 上架完成
    public static final Integer UPLOAD_SUCCESS = 20;

    // 4、入库组盘状态

    // 新建
    public static final Integer RECEIPT_CONTAINER_BUILD = 0;

    /** 生成任务 */
    public static final Integer RECEIPT_CONTAINER_TASK = 10;

    /** 上架完成 */
    public static final Integer RECEIPT_CONTAINER_FINISHED = 20;

    /** 复核完成 */
    public static final Integer RECEIPT_CONTAINER_REVIEWSUCCESS = 30;

    // 5、出库组盘状态

    /** 新建 */
    public static final Integer SHIPMENT_CONTAINER_BUILD = 0;

    /** 生成任务 */
    public static final Integer SHIPMENT_CONTAINER_TASK = 10;

    /** 拣货完成 */
    public static final Integer SHIPMENT_CONTAINER_FINISHED = 20;

    /** 复核完成 */
    public static final Integer SHIPMENT_CONTAINER_REVIEWSUCCESS = 30;

    // 6、任务类型

    /** 整盘入库 */
    public static final int TASK_TYPE_WHOLERECEIPT = 100;

    /** 补充入库 */
    public static final int TASK_TYPE_SUPPLEMENTRECEIPT = 200;

    /** 整盘出库 */
    public static final int TASK_TYPE_WHOLESHIPMENT = 300;

    /** 分拣出库 */
    public static final int TASK_TYPE_SORTINGSHIPMENT = 400;

    /** 空容器入库 */
    public static final int TASK_TYPE_EMPTYRECEIPT = 500;

    /** 空容器出库 */
    public static final int TASK_TYPE_EMPTYSHIPMENT = 600;

    /** 盘点 */
    public static final int TASK_TYPE_CYCLECOUNT = 700;

    /** 移库 */
    public static final int TASK_TYPE_TRANSFER = 800;

    /** 出库查看 */
    public static final int TASK_TYPE_VIEW = 900;

    /** 换站 */
    public static final int TASK_TYPE_OVER_STATION = 1000;

    /** 空托盘组入库 */
    public static final int TASK_TYPE_MANY_EMPTYRECEIPT = 1100;

    /** 空托盘组出库 */
    public static final int TASK_TYPE_MANY_EMPTYSHIPMENT = 1200;

    // 7、任务状态

    /** 生成任务 */
    public static final int TASK_STATUS_BUILD = 1;

    /** 下达任务 */
    public static final int TASK_STATUS_RELEASE = 10;

    /** 开始执行 */
    public static final int TASK_STATUS_RUNNING = 20;

    /** 到达拣选站台 */
    public static final int TASK_STATUS_ARRIVED_STATION = 50;

    /** 任务完成 */
    public static final int TASK_STATUS_COMPLETED = 100;

    // 8、波次状态

    // 未执行
    public static final Integer WAVE_STATUS_BUILD = 10;

    // 执行中
    public static final Integer WAVE_STATUS_START = 20;

    // 结束
    public static final Integer WAVE_STATUS_END = 30;

    // 执行失败
    public static final Integer WAVE_STATUS_ERROR = 40;

    // 波次新建
    public static final Integer WAVE_STEP_BUILD = 0;

    // 剔除订单
    public static final Integer WAVE_STEP_CULL = 5;

    // 波次执行
    public static final Integer WAVE_STEP_START = 10;

    // 波次释放
    public static final Integer WAVE_STEP_FREED = 130;

    // 波次完成
    public static final Integer WAVE_STEP_END = 100;

    // 波次失败
    public static final Integer WAVE_STEP_ERROR = 120;

    // 9、质检状态

    // 新建
    public static final Integer CHECK_STATUS_BUILD = 0;

    // 质检中
    public static final Integer CHECK_STATUS_IN = 10;

    // 质检完成
    public static final Integer CHECK_STATUS_COMPLETED = 20;

    // 10、盘点状态

    // 新建
    public static final Integer CYCLECOUNT_STATUS_BUILD = 1;

    // 盘点任务生成
    public static final Integer CYCLECOUNT_STATUS_BUILDTASK = 5;

    // 执行中
    public static final Integer CYCLECOUNT_STATUS_EXECUTING = 10;

    // 已登记
    public static final Integer CYCLECOUNT_STATUS_REGISTERED = 15;

    // 审核
    public static final Integer CYCLECOUNT_STATUS_REVIEW = 30;

    // 关闭
    public static final Integer CYCLECOUNT_STATUS_CLOSE = 99;

    // 盘点完成
    public static final Integer CYCLECOUNT_STATUS_COMPLETED = 100;

    // 盘点有差异
    public static final Integer CYCLECOUNT_STATUS_DIFFERENCE = 105;

    // 已生成调整单
    public static final Integer CYCLECOUNT_STATUS_GENERATEADJUST = 110;

    // 11、库存交易类型

    /** 入库 */
    public static final Integer INVENTORY_TRANSACTION_RECEIPT = 10;

    /** 出库 */
    public static final Integer INVENTORY_TRANSACTION_SHIPMENT = 20;

    /** 调整入 */
    public static final Integer INVENTORY_TRANSACTION_ADJUSTINTO = 30;

    /** 调整出 */
    public static final Integer INVENTORY_TRANSACTION_ADJUSTOUT = 40;

    /** 调整属性 */
    public static final Integer INVENTORY_TRANSACTION_ADJUSTPROPERTIES = 50;

    /** 盘点 */
    public static final Integer INVENTORY_TRANSACTION_CYCLECOUNT = 60;

    /** 移库入 */
    public static final Integer INVENTORY_TRANSACTION_TRANSFERINTO = 70;

    /** 移库出 */
    public static final Integer INVENTORY_TRANSACTION_TRANSFEROUT = 80;

    // 12、调整单状态

    // 未批准
    public static final Integer ADJUST_STATUS_NOAPPROVED = 0;

    // 已批准
    public static final Integer ADJUST_STATUS_APPROVED = 1;

    // 待调整
    public static final Integer ADJUST_STATUS_WAIT = 2;

    // 已调整
    public static final Integer ADJUST_STATUS_STOP = 3;

    // 13、任务内部类型

    /** 上架任务 */
    public static final Integer TASK_INTENERTYPE_RECEIPT = 100;

    /** 拣货任务 */
    public static final Integer TASK_INTENERTYPE_SHIPMENT = 200;

    /** 工作任务 */
    public static final Integer TASK_INTENERTYPE_WORK = 300;

    // 盘点任务
    public static final Integer TASK_INTENERTYPE_CYCLECOUNT = 400;

    // 13、质检单类型

    // 入库质检
    public static final Integer CHECK_TYPE_RECEIPT = 100;

    // 在库全检
    public static final Integer CHECK_TYPE_FULL = 200;

    // 在库抽检
    public static final Integer CHECK_TYPE_SELECT = 300;

    // 空货架
    public static final Integer POINTS_EMPTY = 0;

    // 非空货架
    public static final Integer POINTS_SOME = 1;

    public static final int ROW_OUT = 1;
    public static final int ROW_IN = 0;

    // WCS任务下发
    public static final String ADDRESS_WCS_TASK_ASSIGN = "WCS_TASK_ASSIGN";
    // WCS任务取消
    public static final String ADDRESS_WCS_TASK_CANCEL = "WCS_TASK_CANCEL";
    // WCS任务信息查询
    public static final String ADDRESS_WCS_TASK_INFO = "WCS_TASK_INFO";
    // WCS设置任务优先级
    public static final String ADDRESS_WCS_TASK_PRIORITY_CHANGE = "WCS_TASK_PRIORITY_CHANGE";
    // WCS站台信息查询
    public static final String ADDRESS_WCS_STATION_INFOS = "WCS_STATION_INFOS";
    // WCS获取可用巷道
    public static final String ADDRESS_WCS_AVAILABLE_ROADWAY = "WCS_AVAILABLE_ROADWAY";
    // 拆盘机地址
    public static final String ADDRESS_WCS_MANY_EMPTY_CONTAINER = "WCS_MANY_EMPTY_CONTAINER";
    // 查询托盘编码
    public static final String ADDRESS_WCS_QUERY_TRAY_CODE = "WCS_QUERY_TRAY_CODE";
    // 码垛位托盘码查询次数
    public static final int QUERY_WCS_QUERY_TRAY_CODE_FREQUENCY = 3;
    // 下发强制入库任务
    public static final String WCS_AUTOLN = "WCS_AUTOLN";
    // ERP
    public static final String PLATFORM_ERP = "ERP";
    public static final String PLATFORM_MES = "MES";
    public static final String PLATFORM_WMS = "WMS";
    public static final String PLATFORM_WCS = "WCS";
    public static final String PLATFORM_DD = "钉钉";

    /**
     * 良品
     */
    public static final String GOOD = "good";
    /**
     * 次品
     */
    public static final String DEFECTIVE = "defective";

    /**
     * 报废品
     */
    public static final String SCRAP = "scrap";

    public static final String EMPTY_STRING = "";
    public static final String DEFAULT_WAREHOUSE = "CS0001";

    public static final int STATION_IN = 1;
    public static final int STATION_OUT = 2;
    public static final int STATION_PICK = 3;
    public static final int STATION_PICK_AND_OUT = 4;

    public static final String STATUS_CONTAINER_EMPTY = "empty";
    public static final String STATUS_CONTAINER_LOCK = "lock";
    public static final String STATUS_CONTAINER_SOME = "some";
    public static final String STATUS_CONTAINER_FULL = "full";
    public static final String STATUS_CONTAINER_MANY = "many";

    public static final String STATUS_LOCATION_EMPTY = "empty";
    public static final String STATUS_LOCATION_LOCK = "lock";

    public static final String RULE_SHIPMENT_TASK = "shipmentTaskRule";
    public static final String RULE_TASK_LOCATION = "taskLocationRule";
    public static final String RULE_CONNECT_WCS = "connectWcs";
    public static final String RULE_ALLOCATION = "allocationRule";
    public static final String DOUBLE_FORK_RESERVE_LOCATION = "doubleForkReserveLocation";

    public static final int DOUBLE_FORK = 1;
    public static final int SINGLE_FORK = 0;

    public static final int RULE_TASK_SET_LOCATION = 1;
    public static final int RULE_TASK_NOT_LOCATION = 0;

    public static final int RULE_TASK_PICK_SHIPMENT = 1;
    public static final int RULE_TASK_WHOLE_SHIPMENT = 0;

    public static final int RULE_WCS_CONNECT = 1;
    public static final int RULE_WCS_DISCONNECT = 0;

    public static final int NOT_MATERIAL_AREAS = 0;

    public static final int RYTASK_STATUS_RUN = 0;
    public static final int RYTASK_STATUS_STOP = 1;

    public static final int DOUBLE_IN = 1;
    public static final int NORMAL_IN = 0;

    public static final int EMPTY_OUT = 1;
    public static final int NORMAL_OUT = 0;

    public static String ryTask_warehouse_code;

    // 15、出入口
    /**
     * P2103原材料出库口
     */
    public static String RAW_MATERIALS_EXPORT = "P2103";

    public static String RAW_MATERIALS_EXPORT_THIRD_FLOOR = "P2106";
    /**
     * P2006半成品出库口
     */
    public static String RAW_PARTIALLY_PREPARED_PRODUCTS = "P2006";

    /**
     * P1204空托盘出库口
     */
    public static String EMPTY_CONTAINER_EXPORT = "P1204";

    /**
     * 成品出库口
     */
    public static String FINISHED_PRODUCT_WAREHOUSE_OUT = "P1002";

    /**
     * 1303码垛区出口
     */
    public final static String PALLETIZING_EXIT = "P1303";

    // 16、出库单类型
    public static String PRODUCTION_OUTBOUND_ORDER = "OTF";
    /**
     * 半成品
     */
    public static String PARTIALLY_PREPARED_PRODUCTS = "PP";

    public static String SHIPMENT_PARTIALLY_PREPARED_PRODUCTS = "SPP";

    /**
     * 产成品出库统计
     */
    public static String FINISHED_PRODUCT_SHIPMENT = "CP";

    /**
     * 原材料出库单
     */
    public static String RAW_MATERIAL = "RM";

    /**
     * 纸箱出库
     */
    public static String S_RAW_MATERIAL = "SRM";

    /**
     * 其他出库单
     */
    public static String MISCELLANEOUS_ISSUE_DOC = "QID";

    /**
     * 原辅料退货单
     */
    public static String RETURN_RAW_MATERIALS = "RG";

    /**
     * 调拨出库单
     */
    public static String STOCK_TRANSFES_SHIPMENT = "STS";

    // 17、入库单类型
    /**
     * 销售退货单
     */
    public final static String SALES_RETURN_NOTE = "SR";

    /**
     * 生产入库单
     */
    public final static String PRODUCTION_RECEIPT = "SC";

    /**
     * 半成品入库
     */
    public final static String PARTIALLY_PREPARED_PRODUCTS_RECEIPT = "PP";

    /**
     * 生产退料单
     */
    public final static String PRODUCTION_RETURN_MATERIAL_RECEIPT = "RM";

    /**
     * 采购入库单
     */
    public final static String PURCHASE_RECEIPT_DOC = "PRD";

    /**
     * 不良品入库单
     */
    public final static String DEFECTIVE_GOODS_RECEIPT = "DP";

    /**
     * 其他入库单
     */
    public final static String MISCELLANEOUS_RECEIPT_DOC = "MRD";

    /**
     * 报废品入库单
     */
    public final static String SCRAP_PRODUCTS = "SP";

    // 18、码垛位
    /**
     * 机械手码垛位
     */
    public final static String MANIPULATOR_PALLETIZING_POSITION = "3329";

    /**
     * 异常码垛位
     */
    public final static String ARTIFICIAL_PALLETIZING_POSITION = "3353";

    /**
     * 人工码垛位1
     */
    public final static String ABNORMAL_PALLETIZING_POSITION1 = "3350";

    /**
     * 人工码垛位2
     */
    public final static String ABNORMAL_PALLETIZING_POSITION2 = "3341";

    /**
     * 转换后查询托盘码的位置
     */
    public final static String ABNORMAL_PALLETIZING_POSITION1_CONTAINER = "1138";
    /**
     * 人工码垛为2转换后
     */
    public final static String ABNORMAL_PALLETIZING_POSITION2_CONTAINER = "1123";

    // 18 纸箱状态
    /**
     * mes推送成功
     */
    public final static String CARTONS_PUSH = "0";

    /**
     * 已分配码垛去向
     */
    public final static String CARTONS_PALLETIZING_DESTINATION = "100";

    /**
     * 已分配码垛位置
     */
    public final static String CARTONS_PALLETIZING_LOCATION = "200";

    /**
     * 码垛成功
     */
    public final static String CARTONS_PALLETIZING_SUCCESS = "300";

    /**
     * 入库成功
     */
    public final static String CARTONS_RECEIPT_SUCCESS = "400";

    /**
     * 码垛失败
     */
    public final static String CARTONS_PALLETIZING_FAIL = "500";

    // 20、码垛是否成功
    /**
     * 码垛成功
     */
    public final static String STACKING_SUCCESS = "1";
    /**
     * 码垛失败
     */
    public final static String STACKING_FAIL = "0";

    // 21、宁乡货主和仓库编码和宁乡货主ID
    /**
     * 宁乡货主编码
     */
    public final static String COMPANYCODE = "BHF";

    /**
     * 宁乡货主ID
     */
    public final static Integer COMPANYID = 3630;
    /**
     * 仓库编码
     */
    public final static String WAREHOUSECODE = "CS0001";

    // 22、叉车任务状态
    /**
     * 未接取任务
     */
    public final static String FORKLIFT_TASK_NO = "0";

    /**
     * 已接受任务
     */
    public final static String FORKLIFT_TASK_ACCEPTED = "1";

    /**
     * 任务完成
     */
    public final static String FORKLIFT_TASK_FINISH = "2";

    // 23、数据字典类型
    /**
     * 质检单类型字典
     */
    public final static String QUALITY_INSPECTION_LIST = "qualityInspectionList";

    /**
     * 车间编码对照表
     */
    public final static String WORKSHOP_CODE_COMPARISON_TABLE = "workshop_code_comparison_table";

    public final static String DOCUMENT_TYPE = "document_type";

    /**
     * 出入库单据对应关系
     */
    public final static String SHIPMENT_RECEIPT_DOCUMENTS_CORRESPONDENCE = "shipment_receipt_documents_correspondence";

    // 24、erp结果状态
    public final static String ERRCODE_SUCCESS = "0";

    // 25、erp单据编码
    /**
     * 材料出库单
     */
    public final static String MATERIAL_DELIVERY_LIST_CODE = "CC";

    /**
     * 生产入库单
     */
    public final static String FINISHED_GOODS_WAREHOUSING_LIST_CODE = "CR";

    /**
     * 其他出库单
     */
    public final static String OTHER_OUTGOING_LIST_CODE = "QC";

    /**
     * 其他入库单
     */
    public final static String OTHER_WAREHOUSE_ENTRY_LIST_CODE = "QR";

    /**
     * 不良品出库
     */
    public final static String DEFECT_DELIVERY_DOC = "DP";

    // 26、erp单据类型
    /**
     * 采购入库单
     */
    public final static String PURCHASE_RECEIPT_DOC_TYPE = "24";

    /**
     * 材料出库单
     */
    public final static String MATERIAL_DELIVERY_LIST_CODE_TYPE = "11";

    /**
     * 生产入库单
     */
    public final static String FINISHED_GOODS_WAREHOUSING_LIST_CODE_TYPE = "10";

    /**
     * 其他出库单
     */
    public final static String OTHER_OUTGOING_LIST_CODE_TYPE = "0302";

    /**
     * 其他入库单
     */
    public final static String OTHER_WAREHOUSE_ENTRY_LIST_CODE_TYPE = "0301";

    // 27、物料
    /**
     * 分配规则
     */
    public final static String MATERIAL_ALLOCATIONRULE = "XJXC";

    // 28、纸箱标签
    /**
     * 纸箱完成生产标签
     */
    public final static String CARTON_SIGN_COMPLETE = "complete";

    /**
     * 纸箱生产中标签
     */
    public final static String CARTON_SIGN_PRODUCTION = "production";

    /**
     * 纸箱异常标签
     */
    public final static String CARTON_SIGN_ERROR = "error";

    // 29、库区编码
    /**
     * 平库编码
     */
    public final static String FLAT_LOCATION_CODE = "P";

    /**
     * RGV库编码
     */
    public final static String RGV_LOCATION_CODE = "R";

    /**
     * 立库库编码
     */
    public final static String L_LOCATION_CODE = "L";

    /**
     * 地码
     */
    public final static String TO_CODE = "D";

    // 30、U8用户普通角色
    /**
     * U8用户普通角色
     */
    public final static Integer ROLE_ID = 2;

    /**
     * 工位字符串长度
     */
    public final static int STATION_STRING_LENGTH = 4;

    // 31、U8外部api接口接口参数
    /**
     * U8采购入库单param参数
     */
    public final static String U8_PRD_API = "U8_PRD_API";

    /**
     * U8EAI ip地址
     */
    public final static String U8_EAI = "U8_EAI";

    /**
     * mesAPI接口
     */
    public final static String MES_API = "MES_API";

    /**
     * U8调拨入库单param参数
     */
    public final static String U8_ST_API = "U8_ST_API";

    // 32、U8仓库
    /**
     * U8注塑待检仓
     */
    public final static String U8_WAREHOUSE_INSPECTED = "0201";

    /**
     * U8不良品库
     */
    public final static String U8_REJECTS = "0203";

    /**
     * U8成品库
     */
    public final static String U8_FINISHED_PRODUCT = "0301";

    /**
     * U8常规物料库
     */
    public final static String U8_GENERAL_MATERIAL_WAREHOUSE = "0101";

    // 33、数量是否为负数
    public final static boolean NEGATIVENUMBER = true;

    public final static boolean INTEGER = false;
    // 34、erp项目大类编码
    public final static String PROJECT_CATEGORY_CODE = "99";

    // 35、容器编码
    /**
     * 虚拟容器编码
     */
    public final static String VIRTUAL_CONTAINER = "LS";

    // 36、U8形态转换单类型
    /**
     * 转换前
     */
    public final static String BEFORE_CONVERSION = "0";
    /**
     * 转换后
     */
    public final static String AFTER_CONVERSION = "1";

    // 37、erp制单人
    /**
     * erp制单人0901005
     */
    public final static String ERP_MAKER1 = "江志娟";

    /**
     * erp制单人0601008
     */
    public final static String ERP_MAKER2 = "廖米兰";

    // 38、部门编码
    /**
     * 注塑车间
     */
    public final static String INJECTION_WORKSHOP = "0802";

    /**
     * 吹瓶车间
     */
    public final static String BOTTLE_BLOWING_SHOP = "0803";

    // 39、erp调拨单模板id

    /**
     * 不良品调拨单
     */
    public final static String ALLOCATION_EFECTIVE_PRODUCTS = "131403 ";

    /**
     * 注塑成品调拨
     */
    public final static String INJECTION_MOLDED_PRODUCTS = "131483";

    // 40、wcs data参数
    public final static String WCS_DATA = "data";

    /**
     * wcs容器编码
     */
    public final static String WCS_CONTAINER_CODE = "containerCode";

    // 41、库区编码
    /**
     * 平库area编码
     */
    public final static int FLAT_LIBRARY = 3;

    /**
     * RGV库area编码
     */
    public final static int RGV_LIBRARY = 2;

    /**
     * 立库area编码
     */
    public final static int STATE_LIBRARY = 1;

    // 42、库位高度
    // 低库位
    public final static int LOW_LOCATION = 1;
    // 高库位
    public final static int HIGH_LOCATION = 2;

//    // 装箱数 = 存货数量 * 10000 / erp自定义项11
//    public final static int PACKING_MAX_QTY = 10000;

    // 43、码垛超时时间
    /**
     * 码垛超时时间五分钟(秒)
     */
    public final static long TIMEOUT_PERIOD = 300;
}