14. August 2008 17:20
14. August 2008 17:31
14. August 2008 17:54
15. August 2008 09:01
 
 OBJECT Form 50012 Verkaufsübersicht
{
  OBJECT-PROPERTIES
  {
    Date=15.08.08;
    Time=18:00:00;
  }
  PROPERTIES
  {
    Width=15180;
    Height=6930;
    Editable=No;
    InsertAllowed=No;
    DeleteAllowed=No;
    ModifyAllowed=No;
    TableBoxID=1;
    SourceTable=Table36;
    SourceTableView=SORTING(Document Type,Sell-to Contact No.);
    DataCaptionFields=Document Type;
  }
  CONTROLS
  {
    { 1   ;TableBox     ;0    ;0    ;15180;6930 ;HorzGlue=Both;
                                                 VertGlue=Both;
                                                 HeadingHeight=440 }
    { 2   ;TextBox      ;0    ;0    ;1650 ;0    ;ParentControl=1;
                                                 InColumn=Yes;
                                                 SourceExpr="No." }
    { 3   ;Label        ;0    ;0    ;0    ;0    ;ParentControl=2;
                                                 InColumnHeading=Yes }
    { 1140000;CommandButton;0 ;0    ;0    ;0    ;Default=Yes;
                                                 OnPush=VAR
                                                          SalesHeader@1140001 : Record 36;
                                                        BEGIN
                                                          SalesHeader := Rec;
                                                          CASE "Document Type" OF
                                                            "Document Type"::Quote:
                                                              BEGIN
                                                                FORM.RUN(FORM::"Sales Quote",SalesHeader);
                                                              END;
                                                            "Document Type"::Order:
                                                              BEGIN
                                                                FORM.RUN(FORM::"Sales Order",SalesHeader);
                                                              END;
                                                            "Document Type"::"Blanket Order":
                                                              BEGIN
                                                                FORM.RUN(FORM::"Blanket Sales Order",SalesHeader);
                                                              END;
                                                            "Document Type"::"Return Order":
                                                              BEGIN
                                                                FORM.RUN(FORM::"Sales Return Order",SalesHeader);
                                                              END;
                                                            "Document Type"::Invoice:
                                                              BEGIN
                                                                FORM.RUN(FORM::"Sales Invoice",SalesHeader);
                                                              END;
                                                            "Document Type"::"Credit Memo":
                                                              BEGIN
                                                                FORM.RUN(FORM::"Sales Credit Memo",SalesHeader);
                                                              END;
                                                          END;
                                                        END;
                                                         }
  }  
}
 
			
		15. August 2008 10:42
15. August 2008 10:46

 
 