A PDF-report problem

marvinqvistmarvinqvist Member Posts: 53
Hi,

I have got an application which calls a codeunit in NAV in order to create and save a PDF of a given sales order.

When creating a PDF i need to be sure that the given report has a valid "Layout Suggestion", via the functions menu and "Create Layout Suggestion. My problem is that I am not able to edit anything at all on the sales order e.g. and still hold the layout after running the "Create Layout Suggestion" function.

The page shrinks into some A5-pagersize. It seems that some varibles are allocated on the layout suggestion (visible when opening in visual studio) and pushing the layout to the left. Also the totals are wrong. - it ignores decimals.

Is it really impossible to edit the sales ordre and then create a layout suggestion so that I am able to use the SAVEASPDF function??? I have made some reports from scratch which works fine, but the sales orders won't work.

Please help, i am lost !

/MHQ

Comments

  • krikikriki Member, Moderator Posts: 9,110
    [Topic moved from 'NAV 2009' forum to 'NAV/Navision' forum]
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


Sign In or Register to comment.