Employee Portal Posting

vivektaurian
vivektaurian Member Posts: 69
edited 2007-04-08 in Navision e-Commerce
Hi,

Can any one plz tell me that is it possible to post the sales order from the employee portal.
Regards,
Vivek Srivastava


"Future Belongs to those who beleive in the beauty of their dreams"

Comments

  • kine
    kine Member Posts: 12,562
    With some C/AL coding yes... but I never tried...
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • DenSter
    DenSter Member Posts: 8,307
    With EP intalled from the CD no that is not possible. With additional custom development yes it is possible. Do you want to do this? No I don't think so. For data entry EP is not suitable, you would be better off giving users access to Navision directly through TS or Citrix.
  • vivektaurian
    vivektaurian Member Posts: 69
    Thanks! for the useful tips
    Regards,
    Vivek Srivastava


    "Future Belongs to those who beleive in the beauty of their dreams"
  • bartosz.szczech
    bartosz.szczech Member Posts: 1
    I use Emplooyee portal, and it is possible to post invoice.
    You have to use report to run codeunit, that all.
    Remember to add code "IF GUIALLOWED THEN" for dialogs.
  • groover
    groover Member Posts: 31
    I have created a report that will post a job journal.
    I have also modified the posting codeunits (IF GUIALLOWED THEN).
    If I run the report from the Object Designer, it works well.
    If I dump it in a SHOWREPORT action, I get the error message:

    Navision Error (10500): A '(' is missing in TableView. SORTING(Journal Template Name,Journal Batch Name,Line No.)

    Any idea where that comes from? Or do you mind sharing the way you have set this up?

    My report - based on table 210, ProcessingOnly=No, UseReqForm=No, no sections defined - looks like this:
    DataItemTable=Table210;
    DataItemTableView=SORTING(Journal Template Name,Journal Batch Name,Job No.,Approved) ORDER(Ascending) WHERE(Approved=CONST(Yes));
    MaxIteration=1;
    OnPreDataItem=BEGIN
        SETCURRENTKEY("Journal Template Name", "Journal Batch Name","Job No.",Approved);
        SETRANGE("Journal Template Name", 'JOB');
        SETRANGE("Journal Batch Name", 'DEFAULT');
        SETRANGE(Approved, TRUE);
    END;
    
    OnAfterGetRecord=BEGIN
        CODEUNIT.RUN(CODEUNIT::"Job Jnl.-Post", "Job Journal Line");
    END;
    
    OnPostDataItem=BEGIN
        IF GUIALLOWED THEN
          MESSAGE('ok');
    END;
    
    BR,
    Groover
  • groover
    groover Member Posts: 31
    OK, I managed to get this to work in the meantime. One stupid thing: the webpart will not be updated automatically, so the posted lines are still shown. I need to press F5 to refresh the page and then it's OK.
    BR,
    Groover
  • PeterTom
    PeterTom Member Posts: 14
    Hi Groover

    I have the samme problem with a '(' missing how did you solve the problem ?

    regards

    Peter