package nc.impl.bgy.ws.my2nc.write;

import uap.json.JSONObject;
import nc.bs.arapws.busireg.ArapWsBillRegisterForBusiDataBO;
import nc.bs.my.arap.MyArapWriteReceivablesBS;
import nc.itf.bgy.ws.my2nc.write.INCTallybillWsFromMy;
import nc.pub.sap.constant.SapConstants;
import nc.vo.arap.payable.PayableBillVO;
import nc.vo.esb.ResultEsbVO;
import nc.vo.esb.ResultEsbVO_Arap;
import nc.vo.pub.BusinessException;

/**
 * @Description: My->NC F1-Cxx-W01 计提单
 * @author 徐刚【碧桂园my】
 * @date 2018-9-14
 * @version with NCC
 */
public class NCTallybillWsFromMy implements INCTallybillWsFromMy {
	@Override
	public ResultEsbVO_Arap addTallybill_RequiresNew(JSONObject billdata,String postJson) {
		return new MyArapWriteReceivablesBS().myArapWriteReceivablesBS(SapConstants.CHECK_KEY, billdata.toString(),postJson);
	}
	//新增核销实现类
	@Override
	public void hxTallybill(PayableBillVO hvo, String guid)
			throws BusinessException {
		new ArapWsBillRegisterForBusiDataBO().doAction2(hvo,guid);
	}
	//新增核销实现类
}
