void SKU.generar_stock_Sku(Compras_de_Skus cn)
{
sr = SKU [Secuencia_Secundaria = cn.SKU_Secundario];
st = Stock1 [Origen == cn.ID.toString()];
x_x = Stock1[Status is not "vendido" && Numero_de_Serie == cn.SKU_Secundario].count( );
sr.Piezas_compradas_historicamente=x_x;
}
I have a function with an argument
(void SKU.generar_stock_Sku(Compras_de_Skus cn))
This function (it is only part of it actually), generates registration within the "
Stock1" form.
-Now I want to be able to update records within a third form (
SKU) with a fetch but I can not get it, try something like this:
sr = SKU [Secuencia_Secundaria = cn.SKU_Secundario];
x_x = Stock1[Status is not "vendido" && Numero_de_Serie == cn.SKU_Secundario].count( );
sr.Piezas_compradas_historicamente=x_x;
It has not given results, I have tried several ways but I do not know how to execute the task correctly ... someone to help me complete my code?
I do not know how to use two arguments, since when I do it, I can not register the functions because I can not find them in the drop-down list
thanks, I'm stuck