EP - not Predefined Tables

MatthiasNMatthiasN Member Posts: 31
edited 2005-12-06 in Navision e-Commerce
Yes I have EP going, but now want to add an Invoice Card based on table 112 using the SalesOrderCard WP template as a guide.

However, adding the webpart to a page then causes NAS to freak-out and then a server restart.

Being not very well documented, any ideas on how to debug this OR is there more I need to do to around using not-Predefined tables?

Anybody else tried this yet - please tell us your experiences.

Cheers and regards, Matthias.

Answers

  • IHateLinuxIHateLinux Member Posts: 223
    Hi Matthias,

    it is quite easy:

    1.) Configure a web part request template
    e.g. your mentioned card based on table 112

    2.) Assign this template to a specific group

    3.) Go to SharePoint, logon with a user that has access to the group used in 2.)

    4.) Drop a card web part and assign the group and the request type

    Essential:
    a.) do not forget to set the proper Multilanguage captions for
    x Actions
    x Web part request
    x Groups
    x Tabs
    b.) A card MUST have at least one tab and on each tab at least one field

    When you want to modify data (e.g. new, modify, delete) then you must add code to the following codeunits:
    - 6822-6827 (EP xxx Head/Line Management)

    HTH,

    Rainer[/list]
  • MatthiasNMatthiasN Member Posts: 31
    G'day Rainer, and thanks for reply.

    Still NAS blows up and eventually a timeout appears in IE - server requires a restart.

    I pretty much completed task as you described and yet no luck.

    Any ideas?

    Anyway to work thru this maybe in NAS debug - it's a bit tedious.

    Cheers and best regards, Matthias.
  • MatthiasNMatthiasN Member Posts: 31
    !Update!

    Methinks that the configuration of the webpart is "mostly" correct.

    After stepping thru the code in NAS DEBUG I am beginning to suspect the header-line connection is faulty. After creating layout for the head and seemingly creating the linedata (xml) the code appeared to grab the next line of posted invoice line (t113) not related to the header record ie the first line record of the next header record etc.

    Do I need to set the head-line connection or is it just expected to work?

    Looking at the SalesOrderCard WP there is nothing setup for head-line connection.

    Any help would be much appreciated.

    Cheers and regards from Downunder.
  • IHateLinuxIHateLinux Member Posts: 223
    Hi,

    of course you have to setup the proper head-line connection ;-)

    This is done on the table card of the header table.

    Greetz to down under from Germany

    Rainer
  • MatthiasNMatthiasN Member Posts: 31
    It's all good now - yes it was the connection needed.

    Thanks again - roll on Summer.
Sign In or Register to comment.