Error While Trying to Calculate a freight charge and adding as a unit price on sales order
RespondidaHello!
What I am currently doing is taking a sales order and multiplying the TOTAL BEFORE DISCOUNT by .015.
I then am storing this value and adding it as a unit price for a specific item they have set as their freight item code.
They click the following button which triggers a line loop 


The goal is to take the value of the total before discount * .015 and add it as a unit price for the following item
However i get the following error message:

Any help is greatly appreciated! :)
-
Comentario oficial
Hello Sarah,
I suggest you try a couple of things:
I think you don't need to add the UF in the final result, you can use it in the Line UF and mark the checkbox "BreakLoop", so it stops when the item is found.
If with this change still doesn't work, also use the extended Dynamic Syntax from Boyum IT, that indicates the line you want to affect. If you check your error message, is because the macro is Trying to add the value in the last line, that in SAP is always empty and with no Item Code.
Here is an example:
Set($[$38.14.CURRENCY.FOCUSED]|@STORE3);
For more information about the Dynamic Syntax, please check the following article:
https://support.boyum-it.com/hc/en-us/articles/204284188-Guide-Understanding-Dynamic-Syntax
-
That worked!!!! Thank you SO MUCH for your help!!
Thank you!
Iniciar sesión para dejar un comentario.
Comentarios
2 comentarios