Hi experts,
Can i use (i.e link) Blanket Order Form with "Purchase Order Report" and Purchase Order Form with Blanket Order Report. If this is done i can save myself from lots of customization.
Can anybody help me, actually what i had tried is, i had made some changes to the codeunit
"Document-Print" to achieve what i want but it didn't worked,
here is the code:
CASE PurchHeader."Document Type" OF
PurchHeader."Document Type"::Quote:
ReportSelection.SETRANGE(Usage,ReportSelection.Usage::"P.Quote");
PurchHeader."Document Type"::"Blanket Order":
ReportSelection.SETRANGE(Usage,ReportSelection.Usage::"P.Blanket");
PurchHeader."Document Type"::Order:
ReportSelection.SETRANGE(Usage,ReportSelection.Usage::"P.Order");
PurchHeader."Document Type"::"Return Order":
ReportSelection.SETRANGE(Usage,ReportSelection.Usage::"P.Return");
ELSE
EXIT;
END;
here i had made the following changes:
ReportSelection.SETRANGE(Usage,ReportSelection.Usage::"P.Order");
and
ReportSelection.SETRANGE(Usage,ReportSelection.Usage::"P.Blanket");
can anybody suggest me the solution.
Thanx in advance
Markandey Pandey
0
Comments