Purchase Invoice - Get Reciept Lines
webbman75
Member Posts: 12
Hi All,
I am new to this forum and also new to Navision as well, got a lot to learn and i hope i will learn from you guys out there.
Ok my first question (of one of many hehe)
I would like to know that in "Purchase Invoice - Get Reciept Lines" when i click on that fuctions "Purchase Invoice - Get Reciept Lines" it will give me the right "Buy-from Vendor No." but i what want is the minute person click on the Get Reciept Lines it will display the entire Vendor's get reciept line?..
I have started to look at the code in Form 5709 Get Receipt Lines but kind of stuck on which bit to edit:
SetPurchHeader(VAR PurchHeader2 : Record "Purchase Header")
PurchHeader.GET(PurchHeader2."Document Type",PurchHeader2."No.");
PurchHeader.TESTFIELD("Document Type",PurchHeader."Document Type"::Invoice);
IsFirstDocLine() : Boolean
TempPurchRcptLine.RESET;
TempPurchRcptLine.COPYFILTERS(Rec);
TempPurchRcptLine.SETRANGE("Document No.","Document No.");
IF NOT TempPurchRcptLine.FIND('-') THEN BEGIN
PurchRcptLine.COPYFILTERS(Rec);
PurchRcptLine.SETRANGE("Document No.","Document No.");
PurchRcptLine.FIND('-');
TempPurchRcptLine := PurchRcptLine;
TempPurchRcptLine.INSERT;
END;
IF "Line No." = TempPurchRcptLine."Line No." THEN
EXIT(TRUE);
I am new to this forum and also new to Navision as well, got a lot to learn and i hope i will learn from you guys out there.
Ok my first question (of one of many hehe)
I would like to know that in "Purchase Invoice - Get Reciept Lines" when i click on that fuctions "Purchase Invoice - Get Reciept Lines" it will give me the right "Buy-from Vendor No." but i what want is the minute person click on the Get Reciept Lines it will display the entire Vendor's get reciept line?..
I have started to look at the code in Form 5709 Get Receipt Lines but kind of stuck on which bit to edit:
SetPurchHeader(VAR PurchHeader2 : Record "Purchase Header")
PurchHeader.GET(PurchHeader2."Document Type",PurchHeader2."No.");
PurchHeader.TESTFIELD("Document Type",PurchHeader."Document Type"::Invoice);
IsFirstDocLine() : Boolean
TempPurchRcptLine.RESET;
TempPurchRcptLine.COPYFILTERS(Rec);
TempPurchRcptLine.SETRANGE("Document No.","Document No.");
IF NOT TempPurchRcptLine.FIND('-') THEN BEGIN
PurchRcptLine.COPYFILTERS(Rec);
PurchRcptLine.SETRANGE("Document No.","Document No.");
PurchRcptLine.FIND('-');
TempPurchRcptLine := PurchRcptLine;
TempPurchRcptLine.INSERT;
END;
IF "Line No." = TempPurchRcptLine."Line No." THEN
EXIT(TRUE);
0
Comments
-
Sorry, but I do not understand what you want... :oops:0
-
Hi,
I done some screen shots:
http://www.gymboree.com.hk/navision/
the first screen is what it looks like which is displaying the current vendor but on the screen which is what i want which is to display all of the vendors in a list.
cheers0 -
OK, you need to look into codeunit 74 - Purch.-Get Receipt - there is all what you need...
but still I do not know, why you need that. You can enter only lines for the same vendor on one document... #-o0 -
thanks for the indication, to be honest its the clients request to have it in this way0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K 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
- 328 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
