Exemple #1
0
        private void LoadAllPurchaseOrderDetail(string argPODocCode, string argClientCode)
        {
            if (this.Count > 0)
            {
                this.Clear();
            }

            PurchaseOrderDetailManager objPODetailManager = new PurchaseOrderDetailManager();

            objPODetailManager.colGetPurchaseOrderDetail(argPODocCode, argClientCode, this);
        }
Exemple #2
0
        public ICollection <IncomingInvDetail> colGetIncomingInvDetail4PO(string argPODocCode, string argClientCode, List <IncomingInvDetail> lst)
        {
            DataSet DataSetToFill = new DataSet();
            PurchaseOrderDetailManager objPurchaseOrderDetailManager = new PurchaseOrderDetailManager();

            DataSetToFill = objPurchaseOrderDetailManager.GetPurchaseOrderDetail4IncInv(argPODocCode, argClientCode);

            if (DataSetToFill != null)
            {
                foreach (DataRow dr in DataSetToFill.Tables[0].Rows)
                {
                    lst.Add(objCreateIncomingInvDetail(dr));
                }
            }
            goto Finish;

Finish:
            DataSetToFill = null;

            return(lst);
        }
Exemple #3
0
        public ICollection <InBDeliveryDetail> colGetPODetail4InBDC(string argInBDeliveryDocTypeCode, string argPODocCode, string argClientCode, int argItemNoFrom, int argItemNoTo, List <InBDeliveryDetail> lst)
        {
            DataSet                    DataSetToFill                 = new DataSet();
            InBDeliveryDetail          tInBDeliveryDetail            = new InBDeliveryDetail();
            PurchaseOrderDetailManager objPurchaseOrderDetailManager = new PurchaseOrderDetailManager();

            DataSetToFill = objPurchaseOrderDetailManager.GetPurchaseOrderDetail(argInBDeliveryDocTypeCode, argPODocCode, argClientCode, argItemNoFrom, argItemNoTo);

            if (DataSetToFill != null)
            {
                foreach (DataRow dr in DataSetToFill.Tables[0].Rows)
                {
                    lst.Add(objCreateInBDeliveryDetail(dr));
                }
            }
            goto Finish;

Finish:
            DataSetToFill = null;

            return(lst);
        }