internal void SetBO(Indico.DAL.ReturnInvoiceDetails obj)
 {
     // set the Indico.BusinessObjects.ReturnInvoiceDetailsBO properties
     this.Invoice                  = obj.Invoice;
     this.InvoiceNo                = obj.InvoiceNo;
     this.InvoiceDate              = obj.InvoiceDate;
     this.ShipTo                   = obj.ShipTo;
     this.AWBNo                    = obj.AWBNo;
     this.ETD                      = obj.ETD;
     this.IndimanInvoiceNo         = obj.IndimanInvoiceNo;
     this.ShipmentMode             = obj.ShipmentMode;
     this.IndimanInvoiceDate       = obj.IndimanInvoiceDate;
     this.FactoryRate              = obj.FactoryRate;
     this.IndimanRate              = obj.IndimanRate;
     this.Qty                      = obj.Qty;
     this.FactoryTotal             = obj.FactoryTotal;
     this.IndimanTotal             = obj.IndimanTotal;
     this.WeeklyProductionCapacity = obj.WeeklyProductionCapacity;
     this.Status                   = obj.Status;
     this.BillTo                   = obj.BillTo;
 }
 internal void SetDAL(Indico.DAL.ReturnInvoiceDetails obj, IndicoEntities context)
 {
     // set the Indico.DAL.ReturnInvoiceDetails properties
     obj.Invoice                  = Convert.ToInt32(Invoice);
     obj.InvoiceNo                = InvoiceNo;
     obj.InvoiceDate              = InvoiceDate;
     obj.ShipTo                   = ShipTo;
     obj.AWBNo                    = AWBNo;
     obj.ETD                      = ETD;
     obj.IndimanInvoiceNo         = IndimanInvoiceNo;
     obj.ShipmentMode             = ShipmentMode;
     obj.IndimanInvoiceDate       = IndimanInvoiceDate;
     obj.FactoryRate              = Convert.ToDecimal(FactoryRate);
     obj.IndimanRate              = Convert.ToDecimal(IndimanRate);
     obj.Qty                      = Convert.ToInt32(Qty);
     obj.FactoryTotal             = Convert.ToDecimal(FactoryTotal);
     obj.IndimanTotal             = Convert.ToDecimal(IndimanTotal);
     obj.WeeklyProductionCapacity = Convert.ToInt32(WeeklyProductionCapacity);
     obj.Status                   = Status;
     obj.BillTo                   = BillTo;
 }