PrintOnlyIfDetail does exactly the oposite of what i want
records from "item" which have records from "ledger" don't show
records from "item" which don't have records from "ledger" SHOW .. :shock:
NO. Descrt.
1000 car tyres
Item No. Posting Date Entry Type
1000 01.01.2001 Sale
1000 03.01.2001 Sale
1000 04.01.2001 Purchase
1001 car windows
item no. posting date entry type
In the "Item - OnAfterGetRecord()", put this code:
recItemLedgerEntry.RESET;
recItemLedgerEntry.SETCURRENTKEY("Item No.");
recItemLedgerEntry.SETRANGE("Item No.".Item."No.");
If NOT recItemLedgerEntry.ISEMPTY THEN
CurrReport.SKIP;
And you don't need the dataitem on Item Ledger Entry. But you just create a global "recItemLedgerEntry" Record "Item Ledger Entry".
Regards,Alain Krikilion No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
Comments
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
records from "item" which have records from "ledger" don't show
records from "item" which don't have records from "ledger" SHOW .. :shock:
could you please explain the design of your report ...
Technical Consultant, MS Dynamics NAV
Item - main
item ledger entry - indent
now shows me example: ......... i thing you get it
And you don't need the dataitem on Item Ledger Entry. But you just create a global "recItemLedgerEntry" Record "Item Ledger Entry".
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
Just Import the following Object
If you can Identify why you are getting the opposite output in your report,
by setting the property, I would appreciate if you could share it.... O:)
Technical Consultant, MS Dynamics NAV
I WANT TO DO THE OPOSING OF PrintOnlyIfDetail
SKip the items with details and show me the items withoust details
http://www.BiloBeauty.com
http://www.autismspeaks.org
Maybe I should have specified that my code was for showing items WITHOUT item legder entries and to skip the ones WITH item ledger entries. :-k
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
http://www.BiloBeauty.com
http://www.autismspeaks.org
Sorry I didn't saw your post Thanks a lot it worked .! =D>
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!