I have a client that is using Nav 4.0 with multiple location codes. I run the Recurring Req. Worksheet without the Location Code and the Orders insert correctly into the Requisition Line Table; howver, when I include the Location Code and execute the Carry Out Action Message, it errors with the following:
There is no Requisition Line within the filter.
Filters: Worksheet Template Name: RECURRING, Journal Batch Name: DEFAULT, Vendor No.:'', Location Code'',
OK
I heard there is a fix in 4.0sp3 (PS#14812); however, my client cannot upgrade. Where is PS#14812 defined? I looked at the Form(296), Report(493), & CodeUnit(333) and cannot resolved the issue without changes many objects. Is there a quick fix for this problem.
Richard
0
Comments
Unless you use it differently from me??
I "get Sales Orders" there I can filter using location code.
Carry out Action -> Creates the PO.
Are you changing the location code in the worksheet?
there is a TESTFIELD that checks if the worksheet code matches the sales line location if it doesn't it errors out.
the debugger can help too.
perhaps you can explain all the steps you are taking and we can see where it goes wrong.
http://www.BiloBeauty.com
http://www.autismspeaks.org
I think the problem is when Navision creates a Purchase Order Header the location code is blank and not matching the Purchase Order Line Value (which gets it value from the changed Location Code Field).
An example of the input data:
Recurring Method Recurring Frequency Type No. Action Message Accept Action Message Description Location Code Quantity Unit of Measure Code Vendor No. Vendor Item No. Direct Unit Cost Due Date Expiration Date
Fixed 1M Item 1110 New Yes Rim RED 1 PCS 01587796 266666 1.05 01/29/10
If I remove the Location Code, it creates a PO.
this code in CU333
TESTFIELD("Location Code",SalesOrderLine."Location Code");
will error everytime if the sales line code is not matching the worksheet code.
if i have a sales order and some items are set as location 1 & some items are set from location 2. Why would I change them on the worksheet? Your locations should be changed on the sales order to what you want them to be, first..IMHO.
I think we use req worksheets differently :-k I use them to create PO's for merch ordered on SO.
**OOps my bad i see you're using the Recurring Req Worksheet :oops:
I'm able to change locations without issue on Recurring Wkst
http://www.BiloBeauty.com
http://www.autismspeaks.org
You cannot change the Location Code after enterning Purchase Lines.
Our client needs to have the Location Code on the PO.
I would put on the debugger and see what TESTFIELD is preventing this.
I'm able to change locations without issue on Recurring Wkst
http://www.BiloBeauty.com
http://www.autismspeaks.org
I ran the debugger and the first error is on:
find(-).
I am new to Navision and don't have a clue on how to fix this.
At first I was talking about Req. worksheet only - (sorry i didn't read the post crefully enuf) but on the last post where I said turn on the debugger - I did test changing location codes in the Recurring Req. Worksheet and was able to post fine (ver 3.7)
http://www.BiloBeauty.com
http://www.autismspeaks.org
do you have access to partner source?
http://www.BiloBeauty.com
http://www.autismspeaks.org
"Action Message"::New,"Action Message"::" " :
BEGIN
//=============================================================================================
IF NOT PurchasingCode.GET("Purchasing Code") THEN
PurchasingCode."Special Order" := FALSE;
IF (PurchasingCode."Special Order" AND
(PurchSetup."Combine Special Orders Default" =
PurchSetup."Combine Special Orders Default"::"Always Combine") AND
((PurchOrderHeader."Buy-from Vendor No." <> '') AND
(PurchOrderHeader."Buy-from Vendor No." <> "Vendor No.") OR
//(PurchOrderHeader."Location Code" <> "Location Code") OR
(PurchOrderHeader."Currency Code" <> "Currency Code"))) OR
(NOT PurchasingCode."Special Order" AND
(((PurchOrderHeader."Buy-from Vendor No." <> '') AND
(PurchOrderHeader."Buy-from Vendor No." <> "Vendor No.") OR
// KLH.01 removed (PurchOrderHeader."Location Code" <> "Location Code") OR
(PurchOrderHeader."Sell-to Customer No." <> "Sell-to Customer No.") OR
Thanks for all your help.
Action Message must be New in Requistion Line Worksheet Template
Name='RECURRING',Journal Batch Name='DEFAULT',Line No.='20000'.
Can you change the quantity in Recurring or is this a remnant from the req. worksheet.