Пример #1
0
        public void BorrarPosicionesSolPed(EntityConnectionStringBuilder connection, SolPed_Pos pos)
        {
            var context = new samEntities(connection.ToString());

            context.DeleteSolpedPosicionesVis_MDL(pos.FOLIO_SAP,
                                                  pos.PLANT);
        }
Пример #2
0
        public void IngresaPosicionesSolPed(EntityConnectionStringBuilder connection, SolPed_Pos pos)
        {
            var context = new samEntities(connection.ToString());

            context.InsertSolpedPosicionesVis_MDL(pos.FOLIO_SAM,
                                                  pos.PREQ_ITEM,
                                                  pos.ITEM_CAT,
                                                  pos.MATERIAL,
                                                  pos.DATUM,
                                                  pos.UZEIT,
                                                  pos.FOLIO_SAP,
                                                  pos.DOC_TYPE,
                                                  pos.ACCTASSCAT,
                                                  pos.SHORT_TEXT,
                                                  pos.QUANTITY,
                                                  pos.UNIT,
                                                  pos.DEL_DATCAT,
                                                  pos.DELIV_DATE,
                                                  pos.MAT_GRP,
                                                  pos.PLANT,
                                                  pos.STORE_LOC,
                                                  pos.PUR_GROUP,
                                                  pos.PREQ_NAME,
                                                  pos.PREQ_DATE,
                                                  pos.DES_VENDOR,
                                                  pos.LIFNR,
                                                  pos.TABIX,
                                                  pos.EPSTP,
                                                  pos.INFNR,
                                                  pos.EKORG,
                                                  pos.G_L_ACCT,
                                                  pos.COST_CTR,
                                                  pos.KONNR,
                                                  pos.KTPNR,
                                                  pos.VRTKZ,
                                                  pos.SAKTO,
                                                  pos.AUFNR,
                                                  pos.KOKRS,
                                                  pos.KOSTL,
                                                  pos.TEXTO_CAB,
                                                  pos.TEXTO_POS,
                                                  pos.RECIBIDO,
                                                  pos.PROCESADO,
                                                  pos.ERROR,
                                                  pos.PREIS,
                                                  pos.WAERS,
                                                  pos.FRGGR,
                                                  pos.FRGRL,
                                                  pos.FRGKZ,
                                                  pos.FRGZU,
                                                  pos.FRGST,
                                                  pos.FRGC1,
                                                  pos.FRGCT,
                                                  pos.LOEKZ,
                                                  pos.PEDIDO);
        }