public void LoadAllPODetail4InBDC(string argInBDeliveryDocTypeCode, string argPODocCode, string argClientCode, int argItemNoFrom, int argItemNoTo) { //if (this.Count > 0) // this.Clear(); InBDeliveryDetailManager objInBDeliveryDetailManager = new InBDeliveryDetailManager(); objInBDeliveryDetailManager.colGetPODetail4InBDC(argInBDeliveryDocTypeCode, argPODocCode, argClientCode, argItemNoFrom, argItemNoTo, this); }
private void LoadAllInBDeliveryDetail(string argInBDeliveryDocCode, string argClientCode) { if (this.Count > 0) { this.Clear(); } InBDeliveryDetailManager objInBDeliveryDetailManager = new InBDeliveryDetailManager(); objInBDeliveryDetailManager.colGetInBDeliveryDetail(argInBDeliveryDocCode, argClientCode, this); }
public ICollection <IncomingInvDetail> colGetIncomingInvDetail4InBDC(string argInBDeliveryDocCode, string argClientCode, List <IncomingInvDetail> lst) { DataSet DataSetToFill = new DataSet(); InBDeliveryDetail tInBDeliveryDetail = new InBDeliveryDetail(); InBDeliveryDetailManager obInBDeliveryDetailManager = new InBDeliveryDetailManager(); DataSetToFill = obInBDeliveryDetailManager.GetInBDeliveryDetail4IncInv(argInBDeliveryDocCode, argClientCode); if (DataSetToFill != null) { foreach (DataRow dr in DataSetToFill.Tables[0].Rows) { lst.Add(objCreateIncomingInvDetail(dr)); } } goto Finish; Finish: DataSetToFill = null; return(lst); }