Verkauf.md 2.1 KB


title: Verkauf

Verkauf

flowchart LR;
    A[import.UNIT_FILE];
    B[import.UNIT_HISTORY];
    C[import.VPP5R];
    D[import.UNIT_CHANGE_HIST];
    E[import.VPP5A];
    Z[data.Transaction_Codes];

    F[Config];
    G[Unit_File];
    H[Unit_History];

    I[Unit_Sold];
    J[Unit_History_mit_Menge];
    K[VPP5A_Transaction_Codes];
    L[Transaction_Codes_data];
    M[Transaction_Codes_Faktor];
    N[Unit_History_TR_Codes];
    O[Unit_History_Faktor];
    P[Unit_History_Summe];
    Q[Unit_Change_Hist];
    R[Unit_Change_Hist_max];
    S[Unit_Change_Department];
    T[Unit_File_Department];
    U[VPP5R_Vehicle_Type];
    V[Unit_File_Veh_Type];
    W[Unit_File_mit_Hist_Summe];
    X[Unit_File_mit_Hist_Detail];
    Y[Unit_File_Union];
    ZZ[staging.Verkauf];

    A==>G;
    B==>H;
    C-->U;
    D-->Q;
    E-->K;
    Z-->L;

    subgraph SG1[Verkaufspositionen]
    H-->I;
    
    H==>J;
    I-.->|Menge|J;

    K-->M;
    L-.->M;

    J==>N;
    M-..->|Aufteilung Kennzahlen|N;
    N==>O;

    end

    subgraph SG2[Verkaufsvorgang]
    G-.->|Order Number|I;

    Q-->R;
    
    R-.->S;
    Q-->S;

    G==>T;
    S-.->T;
    T==>V;
    U-....->V;
    end
    F-.->V;
    F-.->W;
    F-.->X;

    subgraph SG3[Kombination]
    O-->P;

    V-->W;
    P-->W;
    
    O--->X;
    V--->X;
    
    W-->Y;
    X-->Y;

    end
    Y-->ZZ;

Fahrzeug

flowchart LR;
    A[import.VEHICLE];
    B[import.GLOBAL_MAKE];
    C[import.VPP5Q];

    D[Vehicle];
    E[Global_Make];
    F[VPP5Q_Model_Line];
    
    G[Fahrzeug_mit_Marke];
    H[Fahrzeug_mit_Marke_und_Modell];

    J[staging.Fahrzeug];

    A-->D;
    B-->E;
    C-->F;
    D-->G;
    E-.->G;
    G-->H;
    F-..->H;
    H-->J;

Kunde

flowchart LR;
    A[import.CUSTOMER];
    B[import.VPP48];

    C[Customer];
    D[Customer_Group];

    E[Kunde_mit_Gruppe];
    F[staging.Kunde];
    
    A-->C;
    B-->D;
    C-->E;
    D-.->E;
    E-->F;

Verkäufer

flowchart LR;
    A[import.VPP43];
    B[VPP43];
    
    C[Verkaeufer];
    D[staging.Verkaeufer];

    A-->B;
    B-->C;
    C-->D;