Transfer to use next empty line
RespondidaHi,
I have written a line loop to copy items from a sales order to a special production order. The problem is that when it copies from one line on the sales order, it transfers the value into the same line on the production order. This causes an issue where one of the components from the sales order is an assembly, therefore populating the production order with its components.
When the next line on the sales order is transferred over, it overwrites the component line created when the assembly bom was entered.
I need the transfer command to paste into the next available empty line rather than the same line it occupied on the sales order.
-
Comentario oficial
Hello Kenneth,
In this case, this is the normal behavior of the line loop, what I do in this cases is that I use a conditional macro instead with a WHILE condition and using the dynamic syntax with a line definition using a variable like @STORE. For example:
Set($[38.1.0.@STORE1]|VALUE);
Here you will find more information about conditional macros:
Here you will find more information about the extension of the Dynamic Syntax to use a line:
https://support.boyum-it.com/hc/en-us/articles/204284188-Guide-Understanding-Dynamic-Syntax
For more information, please contact your local Partner.
Iniciar sesión para dejar un comentario.
Comentarios
1 comentario