public SOLineEquipmentComponent(ContractInvoiceLine docLine, SOLine sOLineRow, FSxSOLine fSxSOLineRow)
 {
     this.componentID     = docLine.ComponentID;
     this.currentLineRef  = sOLineRow.LineNbr;
     this.equipmentAction = docLine.EquipmentAction;
     this.sourceLineRef   = docLine.LineRef;
     this.sourceNewTargetEquipmentLineNbr = docLine.NewTargetEquipmentLineNbr;
     this.fsxSOLineRow = fSxSOLineRow;
 }
Ejemplo n.º 2
0
        public ContractInvoiceLine(ContractInvoiceLine row)
        {
            ServiceContractID   = row.ServiceContractID;
            ContractType        = row.ContractType;
            ContractPeriodID    = row.ContractPeriodDetID;
            ContractPeriodDetID = row.ContractPeriodID;

            AppointmentID = row.AppointmentID;
            AppDetID      = row.AppDetID;

            SOID    = row.SOID;
            SODetID = row.SODetID;

            BillingRule     = row.BillingRule;
            InventoryID     = row.InventoryID;
            UOM             = row.UOM;
            SMEquipmentID   = row.SMEquipmentID;
            CuryUnitPrice   = row.CuryUnitPrice;
            DiscPct         = row.DiscPct;
            ContractRelated = row.ContractRelated;
            SubItemID       = row.SubItemID;
            SiteID          = row.SiteID;
            SiteLocationID  = row.SiteLocationID;
            IsBillable      = row.IsBillable;

            Qty = row.Qty;

            CuryBillableExtPrice = row.CuryBillableExtPrice;
            OverageItemPrice     = row.OverageItemPrice;
            AcctID                    = row.AcctID;
            SubID                     = row.SubID;
            EquipmentAction           = row.EquipmentAction;
            EquipmentLineRef          = row.EquipmentLineRef;
            NewTargetEquipmentLineNbr = row.NewTargetEquipmentLineNbr;
            ComponentID               = row.ComponentID;
            LineRef                   = row.LineRef;
            SalesPersonID             = row.SalesPersonID;
            Commissionable            = row.Commissionable;

            TranDescPrefix = string.Empty;

            ProjectTaskID = row.ProjectTaskID;
            CostCodeID    = row.CostCodeID;

            Processed = false;
        }
Ejemplo n.º 3
0
 public ContractInvoiceLine(ContractInvoiceLine row, decimal?qty) : this(row)
 {
     Qty = qty;
 }
Ejemplo n.º 4
0
        public static FSContractPostDet CreatePostDet(FSContractPostDoc fsContractPostDocRow, ContractInvoiceLine contractInvoiceLine)
        {
            FSContractPostDet fsContractPostDetRow = new FSContractPostDet();

            fsContractPostDetRow.AppDetID            = contractInvoiceLine.AppDetID;
            fsContractPostDetRow.AppointmentID       = contractInvoiceLine.AppointmentID;
            fsContractPostDetRow.ContractPeriodDetID = contractInvoiceLine.ContractPeriodDetID;
            fsContractPostDetRow.ContractPeriodID    = contractInvoiceLine.ContractPeriodID;
            fsContractPostDetRow.ContractPostBatchID = fsContractPostDocRow.ContractPostBatchID;
            fsContractPostDetRow.ContractPostDocID   = fsContractPostDocRow.ContractPostDocID;
            fsContractPostDetRow.SODetID             = contractInvoiceLine.SODetID;
            fsContractPostDetRow.SOID = contractInvoiceLine.SOID;

            return(fsContractPostDetRow);
        }