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 Posts

Dear 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 Posts
Hoped to find a way to attach the .p file but don't know how :-(
thumbnail
Raymond Chin Kwie Joe, modified 8 Years ago.

Re: What do I overlook?

Post Date: 3/18/18 (Rhodium, 825 Posts) Recent Posts
You might also want to try the Progress Forum.
Edward Visser, modified 8 Years ago.

Re: What do I overlook?

Post Date: 3/18/18 (Silver, 44 Posts) Recent Posts

Thanks 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 Posts
Edward Visser, modified 8 Years ago.

Re: What do I overlook?

Post Date: 3/26/18 (Silver, 44 Posts) Recent Posts
Solved!<br />
Unnecessary use of a buffer for code_mstr.

Message place holder