OE510 in Lawson 9

 3 Replies
 0 Subscribed to this topic
 1 Subscribed to this forum
Sort:
Author
Messages
danis
New Member Send Private Message
Posts: 3
New Member
Hi!,

What is the format file for SALESORDERS in the lawson program OE510 in Lawson 9 version.


Thanks very much!!
Greg Moeller
Veteran Member Send Private Message
Posts: 1498
Veteran Member
See PD_90150 on the KB.
danis
New Member Send Private Message
Posts: 3
New Member
Thanks very much Greg,

I created the file with this information. Now sends me this error when running the program OE510:

"Billing company does not allow currency override"

I am sending the correct Currency Code
Ragu Raghavan
Veteran Member Send Private Message
Posts: 477
Veteran Member
Aah yes, brings back memories. I ended up having to analyze the code. This how I would do it,
1. lookup the error message in msgmnt - in this case OECOR/301
2. go to the folder $LAWDIR/productline/oesrc/oepdlib
3. do a grep on 301 and see which lib has this edit. In this case OECOREDIT

This is the logic that is causing the error:

IF (OECOR-CURRENCY-CODE NOT = ARCIWS-CURRENCY-CD)
AND (OEC-CURR-OVR-FL = "N")
MOVE 301 TO CRT-ERROR-NBR
MOVE OECOR-CURRENCY-CODE-FN TO CRT-FIELD-NBR
GO TO 2300-END.

Now you need to figure out how the two currency codes are determined and if the ovreride flag is set or not. It will help if you know how to run OE510 in debug mode.