public hubConfirm AddHubConfirm(hubConfirm newHubConfirm)
        {
            hubConfirmList.Add(newHubConfirm);

            hubConfirm   = hubConfirmList.ToArray();
            messageCount = hubConfirm.Length.ToString();

            return(newHubConfirm);
        }
        public hubConfirm AddHubConfirm(string partnerTrxID, string partnerTrxDt, string poNumber, string vendorsInvoiceNumber = null)
        {
            hubConfirm newHubConfirm = new hubConfirm(this)
            {
                partnerTrxID   = partnerTrxID,
                partnerTrxDate = partnerTrxDt,
                poNumber       = poNumber
            };

            if ((vendorsInvoiceNumber != null) && (vendorsInvoiceNumber != partnerTrxID))
            {
                newHubConfirm.trxData = new trxData {
                    vendorsInvoiceNumber = vendorsInvoiceNumber
                };
            }

            return(AddHubConfirm(newHubConfirm));
        }
Esempio n. 3
0
        public hubConfirm AddHubConfirm(hubConfirm newHubConfirm)
        {
            hubConfirmList.Add(newHubConfirm);

            hubConfirm = hubConfirmList.ToArray();
            messageCount = hubConfirm.Length.ToString();

            return newHubConfirm;
        }
Esempio n. 4
0
        public hubConfirm AddHubConfirm(string partnerTrxID, string partnerTrxDt, string poNumber, string vendorsInvoiceNumber=null)
        {
            hubConfirm newHubConfirm = new hubConfirm(this)
            {
                partnerTrxID = partnerTrxID,
                partnerTrxDate = partnerTrxDt,
                poNumber = poNumber
            };

            if ((vendorsInvoiceNumber != null) && (vendorsInvoiceNumber != partnerTrxID))
            {
                newHubConfirm.trxData = new trxData { vendorsInvoiceNumber = vendorsInvoiceNumber };
            }

            return AddHubConfirm(newHubConfirm);
        }
Esempio n. 5
0
 //public hubConfirm MakeHubConfirm()
 //{
 //    return new hubConfirm(this);
 //}
 public hubConfirm AddHubConfirm()
 {
     hubConfirm newHubConfirm = new hubConfirm(this);
     return AddHubConfirm(newHubConfirm);
 }
        //public hubConfirm MakeHubConfirm()
        //{
        //    return new hubConfirm(this);
        //}
        public hubConfirm AddHubConfirm()
        {
            hubConfirm newHubConfirm = new hubConfirm(this);

            return(AddHubConfirm(newHubConfirm));
        }