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);
0
Comments
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
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.
cheers
but still I do not know, why you need that. You can enter only lines for the same vendor on one document... #-o
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.