private void detach_mrp_detalle_consumo_mps(mrp_detalle_consumo_mp entity) { this.SendPropertyChanging(); entity.mrp_moneda = null; }
/// <summary> /// Ingresa datos de costos de materia prima para una orden de producción /// </summary> /// <param name="idProduccion">Representa el identificador unico de una orden de producción</param> /// <param name="iCodProducto">Representa el codigo del producto a generar en la producción</param> /// <param name="iCodProductoUtilizado">Indica la materia prima utilizada para crear un producto</param> /// <param name="dCantidad">Cantidad de materia prima utilizada</param> /// <param name="dTotal">Total del costo representado por la materia prima utilizada</param> /// <param name="idMoneda">Identificador unico del tipo de moneda Utilizado</param> /// <param name="dTasaCambio">Tasa de cambio del producto utilizado para esa producción</param> public void SaveMpDetalle(int idProduccion, int iCodProducto, int iCodProductoUtilizado, decimal dTotal, int idMoneda, decimal dTasaCambio ) { ConnectionDBDataContext dcConn = new ConnectionDBDataContext(); mrp_detalle_consumo_mp tIndirectCost = new mrp_detalle_consumo_mp { id_produccion = idProduccion, cod_producto = iCodProducto, cod_producto_utilizado = iCodProductoUtilizado, total = dTotal, id_moneda = idMoneda, tasa_cambio = dTasaCambio }; dcConn.GetTable<mrp_detalle_consumo_mp>().InsertOnSubmit(tIndirectCost); dcConn.SubmitChanges(); }
private void attach_mrp_detalle_consumo_mps(mrp_detalle_consumo_mp entity) { this.SendPropertyChanging(); entity.scm_producto = this; }
private void detach_mrp_detalle_consumo_mps1(mrp_detalle_consumo_mp entity) { this.SendPropertyChanging(); entity.scm_producto1 = null; }
private void detach_mrp_detalle_consumo_mps(mrp_detalle_consumo_mp entity) { this.SendPropertyChanging(); entity.mrp_ordenes_produccion = null; }
partial void Deletemrp_detalle_consumo_mp(mrp_detalle_consumo_mp instance);
partial void Updatemrp_detalle_consumo_mp(mrp_detalle_consumo_mp instance);
partial void Insertmrp_detalle_consumo_mp(mrp_detalle_consumo_mp instance);
private void attach_mrp_detalle_consumo_mp(mrp_detalle_consumo_mp entity) { this.SendPropertyChanging(); entity.mrp_monedas = this; }