Invoicing Subcontractor purchase

sorenhinrup
Member Posts: 136
Hi All
I have an issue at a customer installation (Nav2013R2 CU7). We are using the subcontracting worksheet to create purchase orders for our subconctracting operations.
These purchaseorders are marked as finished, and afterwards recieved - but not invoiced.
In Codeunit 22 the purchase reciept line gets the capacity ledger entry marked in "Item Rcpt. Entry No." (field 39 in table 121).
For invoicing the customer is creating a purchase invoice and copies the shipmentlines to the purchase invoice and copies the lines from the shipment.
But when they try to invoice this purchase invoice we get this error message.

What i can gather is that Codeunit 90 uses the field "Item Rcpt. Entry No." to lookup an Item Ledger Entry with the capacity ledger entry number.
Have any of you seen this error before? Could it be a setup error or functionality gap?
Best Regards
Søren Hinrup
I have an issue at a customer installation (Nav2013R2 CU7). We are using the subcontracting worksheet to create purchase orders for our subconctracting operations.
These purchaseorders are marked as finished, and afterwards recieved - but not invoiced.
In Codeunit 22 the purchase reciept line gets the capacity ledger entry marked in "Item Rcpt. Entry No." (field 39 in table 121).
From CU 22 -COde: wrote:// Entry no. is returned to shipment/receipt
IF Subcontracting THEN
"Item Shpt. Entry No." := CapLedgEntryNo
ELSE
"Item Shpt. Entry No." := GlobalItemLedgEntry."Entry No.";
For invoicing the customer is creating a purchase invoice and copies the shipmentlines to the purchase invoice and copies the lines from the shipment.
But when they try to invoice this purchase invoice we get this error message.

What i can gather is that Codeunit 90 uses the field "Item Rcpt. Entry No." to lookup an Item Ledger Entry with the capacity ledger entry number.
Have any of you seen this error before? Could it be a setup error or functionality gap?
Best Regards
Søren Hinrup
0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions