cancel
Showing results for 
Search instead for 
Did you mean: 

Mapping, queues, contexts & discounts on an invoice !!

former_member233999
Participant
0 Kudos

Hi all,

I came up with a solution for this over the weekend, it would appear that my solution has not worked. I am mapping an invoic09 document and where there is segment E1EDP26, so whereby qualif =003 (net), and the qualif =013 (discount) if the discount is greater than the netprice then dont pass the discount, just pass a 0.00 as i am hoping that the discount would never be bigger than the net price !


My mapping is below but i'm not getting the discounts through at all, they're suppressed. You can see that line 10 has a discount of 3.55 but this is 'yellowed out' in the vf03 invoice document, the only valid line that should have a discount is line 30 where the discount should be 17.99 .. i've tried playing with queues and contexts but i still cant get it to work. Could someone please assist and suggest where i've gone wrong?

Thanks


d-dscv.png

Accepted Solutions (1)

Accepted Solutions (1)

peter_karg
Explorer
0 Kudos

Hi George,

because the three if-functions return the same context values the problem could be the greater-function (see picture).
By the way, if you have the B2B-addon you can also use from UDFUtilsPool the function minusFromEndtoBegin for negative values.

Regards
Peter

Answers (0)