Message Boards
What do I overlook?
Edward Visser, modified 3 Years ago.
What do I overlook?
Post Date: 3/15/18 (Silver, 44 Posts) Recent PostsDear all,
I don't know if this is the right way and place to ask for help for this topic, please redirect me if necessary.
Can someone please help me?
I have a customized program that appears not to take into account a certain setting. In this setting it is said that in the envelop line of an EDI DESADV message there should not be place the GLN code of the ship-to party or the connected customer, but to another GLN-code.
This problem in fact is fixed, however in another part of the code the program behaves differently now and I can't figure out why.
Details to the .p-file I added :
Lines 216 - 235 are the lines I added.
In line 462 there is a line with a find first code_mstr.
In line 464 there is a line with an if available code_mstr.
I already addes messages to get my finger behind this, but I just don't get it.
The bizar thing is that when I slash out the code in lines 216-235, the "if available" in line 464 returns a TRUE (and so message "95" appears), but when I run the full code including the code in lines 216-235, the "if available" in line 464 returns a FALSE (and so message "95" does not appear). I already checked it : in both situations the value in pt_ship_wt_um is exactly the same : "KG". For some reason the code_mstr table is searched differently or something else happens, I just don't know.
Many thanks in advance for your help.
Edward Visser, modified 8 Years ago.
Re: What do I overlook?
Post Date: 3/15/18 (Silver, 44 Posts) Recent PostsRaymond Chin Kwie Joe, modified 8 Years ago.
Re: What do I overlook?
Post Date: 3/18/18 (Rhodium, 825 Posts) Recent PostsEdward Visser, modified 8 Years ago.
Re: What do I overlook?
Post Date: 3/18/18 (Silver, 44 Posts) Recent PostsThanks Raymond.
Ignore this thread and look into the forum in the QAD thread ;-)
Edward Visser, modified 8 Years ago.
Re: What do I overlook?
Post Date: 3/19/18 (Silver, 44 Posts) Recent PostsIf anyone is interested in solving my mystery : https://www.progresstalk.com/threads/why-is-code_mstr-record-no-longer-found.177311/
Edward Visser, modified 8 Years ago.
Re: What do I overlook?
Post Date: 3/26/18 (Silver, 44 Posts) Recent PostsUnnecessary use of a buffer for code_mstr.
Message place holder
Forums