t-beseing-write.p 659 B

123456789101112131415
  1. TRIGGER PROCEDURE FOR WRITE OF BesEing
  2. NEW BUFFER nBesEing
  3. OLD BUFFER oBesEing.
  4. FIND Besze
  5. WHERE Besze.Firma = nBesEing.Firma
  6. AND Besze.Besnr = nBesEing.Besnr
  7. AND Besze.Pos = nBesEing.Pos.
  8. ASSIGN Besze.Eingang = Besze.Eingang - oBesEing.Eingang + nBesEing.Eingang
  9. Besze.MRuek = Besze.MRuek + oBesEing.Eingang - nBesEing.Eingang
  10. Besze.GGeb_EG = Besze.GGeb_EG - oBesEing.GGeb_EG + nBesEing.GGeb_EG
  11. Besze.VGeb_EG = Besze.VGeb_EG - oBesEing.VGeb_EG + nBesEing.VGeb_EG
  12. Besze.KGeb_EG = Besze.KGeb_EG - oBesEing.KGeb_EG + nBesEing.KGeb_EG
  13. .