IErpService.java 1.52 KB
package com.huaheng.api.erp.service;

import com.huaheng.api.erp.domain.*;
import com.huaheng.framework.web.domain.ResultErp;
import com.huaheng.pc.config.company.domain.Company;
import com.huaheng.pc.config.projectNo.domain.ProjectNoErp;
import com.huaheng.pc.receipt.receiptHeader.domain.ReceiptHeader;
import com.huaheng.pc.shipment.shipmentHeader.domain.ShipmentHeader;

import java.util.List;

public interface IErpService {


    ResultErp receiptForSrm(ErpReceipt erpReceipt);
    /**
     * 下发入库单
     */
    public ResultErp receipt(ErpReceipt erpReceipt);

    /**
     * 取消入库单
     */
    public ResultErp cancelReceipt(String referCode, String warehouseCode);

    /**
     * 取消出库单
     */
    public ResultErp shipment(ErpShipment erpShipment);

    /**
     * 取消出库单
     */
    public ResultErp cancelShipment(String referCode, String warehouseCode);

    /**
     * 查询库存
     */
    public ResultErp searchInventory(InventoryQueryParam inventoryQueryParam);

    /**
     * 增加物料信息
     */

    /**
     * 回传入库单
     */

    /**
     * 回传出库单
     */

//    ResultErp supplier(ErpSupplier erpSupplier);
//
//    ResultErp customer(ErpSupplier erpSupplier);

    ResultErp transfer(ErpTransfer erpTransfer);
    ResultErp transferReceipt(ErpTransfer erpTransfer, Company company, List<ProjectNoErp> mocodelist,String configvalue);
    ResultErp cancelTransfer(String referCode, String warehouseCode);

    ResultErp getUWarehosue(ErpUWarehosue erpUWarehosue);

}