I would like to change remit address according to communication group code.
I currently have it changing according to customer number
IF STRPOS(“Sell-to Customer No.”,‘ABC’) = 1 THEN BEGIN
When I try this
IF “Communication Group Code” = ‘XYZ’ THEN BEGIN
It does not work.
Any help would be deeply appreciated.
i hope the value in the table is exactly XYZ (in caps only)
This is just an example But I am quite sure I typed it in as is on the customer card.
Did you check by activating debugger? what value you are getting inCommunicator group code
you can do it by adding a mesage also…above the IF condition…
this is just to make sure that you are getting right record or not,…