Author Topic: collect sms telkomsel dan indosat  (Read 436 times)

mahfud

  • User OtomaX
  • Jr. Member
  • **
  • Posts: 185
collect sms telkomsel dan indosat
« on: May 08, 2017, 07:59:57 PM »
maaf sebelumnya saya ngak minta ijin dulu sama guru saya  pak yusuf selaku pembuat otomax
minta maaf ya pak
apa perlu saya hapus query saya pak kalau ada yang salah
mohon bimbingan
===============================================
CREATE TRIGGER [collect sms telkomsel] ON [dbo].[inbox]
FOR INSERT
AS
DECLARE @tujuanx VARCHAR(2000);
SET @tujuanx =  (SELECT SUBSTRING (pesan,30,14) FROM inbox  where  kode IN (SELECT TOP 1 kode FROM inbox WITH(NOLOCK) ORDER BY kode DESC) and pengirim like '8833%')
INSERT INTO [dbo].[outbox]
 ([tgl_entri]
 ,[penerima]
 ,[tipe_penerima]
 ,[pesan]
 ,[prioritas])
SELECT GETDATE()
 ,@tujuanx
 ,'S'
 ,'Pesan Anda Tidak Sampai Ke Server,Mohon cek Pulsa Telkomsel anda.Maksimalkan Transaksi lewat Telegram '
 ,'5'
WHERE @tujuanx is NOT null and @tujuanx like '+628%'

===============================
lalu eksekusi di sql servernya
Insya Allah membantu rekan2 kalau ada collect sms tsel
« Last Edit: May 10, 2017, 09:01:57 AM by mahfud »
server mahacell
telegram   : @mahacell
alamat desa karanganyar rt17 rw08 kec paiton kab probolinggo jatim 67291

mahfud

  • User OtomaX
  • Jr. Member
  • **
  • Posts: 185
Re: collect sms telkomsel
« Reply #1 on: May 08, 2017, 09:50:33 PM »
ini collect indosat
===================
CREATE TRIGGER [collect indosat] ON [dbo].[inbox]
FOR INSERT
AS
DECLARE @tujuanx VARCHAR(2000);
SET @tujuanx =  (SELECT SUBSTRING (pesan,3,15) FROM inbox  where  kode IN (SELECT TOP 1 kode FROM inbox WITH(NOLOCK) ORDER BY kode DESC)and pengirim like '8833%')
INSERT INTO [dbo].[outbox]
 ([tgl_entri]
 ,[penerima]
 ,[tipe_penerima]
 ,[pesan]
 ,[prioritas])
SELECT GETDATE()
 ,@tujuanx
 ,'S'
 ,'Pesan Anda Tidak Sampai Ke Server,Mohon cek Pulsa Indosat anda.Maksimalkan Transaksi lewat Telegram '
 ,'5'
WHERE @tujuanx is NOT null and @tujuanx like '+628%'
« Last Edit: May 09, 2017, 01:24:01 PM by mahfud »
server mahacell
telegram   : @mahacell
alamat desa karanganyar rt17 rw08 kec paiton kab probolinggo jatim 67291

amriza reload

  • User OtomaX
  • Newbie
  • *
  • Posts: 35
  • Keputusan hari ini menentukan masa depan
Re: collect sms telkomsel dan indosat
« Reply #2 on: May 09, 2017, 07:13:51 AM »
maaf boss newbie, saat eksekusi apakah otomax harus di tutup??
Telegram cs   : @cs_amriza
OtomaX         : Advanced 3.7.6
ALAMAT         : AMBON-MALUKU

CEMERLANG

  • User OtomaX
  • Jr. Member
  • **
  • Posts: 456
Re: collect sms telkomsel dan indosat
« Reply #3 on: May 09, 2017, 07:34:33 AM »
CREATE TRIGGER [collect sms telkomsel] ON [dbo].[inbox]
FOR INSERT
AS
DECLARE @tujuanx VARCHAR(2000);
SET @tujuanx =  (SELECT SUBSTRING (pesan,30,14) FROM inbox  where  kode IN (SELECT TOP 1 kode FROM inbox WITH(NOLOCK) ORDER BY kode DESC) and pengirim like '8833%')
INSERT INTO [dbo].[outbox]
 ([tgl_entri]
 ,[penerima]
 ,[tipe_penerima]
 ,[pesan]
 ,[prioritas])
SELECT GETDATE()
 ,@tujuanx
 ,'S'
 ,'Pesan Anda Tidak Sampai Ke Server,Mohon cek Pulsa Telkomsel anda.Maksimalkan Transaksi lewat Telegram '
 ,'5'
WHERE @tujuanx is NOT null

===============================
lalu eksekusi di sql servernya
Insya Allah membantu rekan2 kalau ada collect sms tsel
Terimakasih Om

CEMERLANG

  • User OtomaX
  • Jr. Member
  • **
  • Posts: 456
Re: collect sms telkomsel
« Reply #4 on: May 09, 2017, 07:35:37 AM »
ini collect indosat
===================
CREATE TRIGGER [collect indosat] ON [dbo].[inbox]
FOR INSERT
AS
DECLARE @tujuanx VARCHAR(2000);
SET @tujuanx =  (SELECT SUBSTRING (pesan,3,15) FROM inbox  where  kode IN (SELECT TOP 1 kode FROM inbox WITH(NOLOCK) ORDER BY kode DESC)and pengirim like '8833%')
INSERT INTO [dbo].[outbox]
 ([tgl_entri]
 ,[penerima]
 ,[tipe_penerima]
 ,[pesan]
 ,[prioritas])
SELECT GETDATE()
 ,@tujuanx
 ,'S'
 ,'Pesan Anda Tidak Sampai Ke Server,Mohon cek Pulsa Indosat anda.Maksimalkan Transaksi lewat Telegram '
 ,'5'
WHERE @tujuanx is NOT null
Sangat membantu, semoga berkah

Planetindo cell

  • User OtomaX
  • Jr. Member
  • **
  • Posts: 174
Re: collect sms telkomsel dan indosat
« Reply #5 on: May 09, 2017, 10:08:43 AM »
ngk bisa mas:
Msg 8197, Level 16, State 4, Procedure Collect SMS Telkomsel, Line 2
The object 'dbo.inbox' does not exist or is invalid for this operation.
knp ya?
Planet cell -  085258474888 Telegram: @csplanetindo. Jember - Jawa timur.

mahfud

  • User OtomaX
  • Jr. Member
  • **
  • Posts: 185
Re: collect sms telkomsel dan indosat
« Reply #6 on: May 09, 2017, 01:23:32 PM »
ngk bisa mas:
Msg 8197, Level 16, State 4, Procedure Collect SMS Telkomsel, Line 2
The object 'dbo.inbox' does not exist or is invalid for this operation.
knp ya?
saya bantu remote bos
server mahacell
telegram   : @mahacell
alamat desa karanganyar rt17 rw08 kec paiton kab probolinggo jatim 67291

tekcuan

  • User OtomaX
  • Jr. Member
  • **
  • Posts: 260
Re: collect sms telkomsel dan indosat
« Reply #7 on: May 09, 2017, 03:02:44 PM »
cara hapus atau cara edit gimana ya??xixixi
OTOMAX ULTIMATE 3.7.5.5
KEPERCAYAAN ADALAH HARTA YANG PALING BERHARGA.

mahfud

  • User OtomaX
  • Jr. Member
  • **
  • Posts: 185
Re: collect sms telkomsel dan indosat
« Reply #8 on: May 09, 2017, 04:14:56 PM »
cara hapus atau cara edit gimana ya??xixixi
drop trigger collect sms telkomsel ;
drop trigger collect indosat
server mahacell
telegram   : @mahacell
alamat desa karanganyar rt17 rw08 kec paiton kab probolinggo jatim 67291

fajar_revpulsa

  • User OtomaX
  • Full Member
  • ***
  • Posts: 675
  • Tiada kata seindah Alhamdulillah
Re: collect sms telkomsel dan indosat
« Reply #9 on: May 09, 2017, 06:38:15 PM »
Maaf om suhu,alangkah baiknya diberikan screen shoot step by step utk yang awam krn terlalu beresiko otak atik database. Terima kasih
Support : OTOMAX ENTERPRISE LAST UPDATE

Inet : Indihome 5Mb + Play Media 10Mb

server_kecil

  • Full Member
  • ***
  • Posts: 735
Re: collect sms telkomsel dan indosat
« Reply #10 on: June 20, 2017, 06:34:50 PM »
collect sms isat berubah suhu,
Quote
No +628567407627 tdk berhasil SMS kamu. Jgn sampai kamu melewatkan pesan darinya! Balas YA dgn biaya Rp 299. Info: *123*883#
mohon di update ya query nya, yang lama jadi gak berfungsi  ;D

bentoxz

  • User OtomaX
  • Jr. Member
  • **
  • Posts: 312
  • HIDUP MEMANG INDAH
Re: collect sms telkomsel dan indosat
« Reply #11 on: June 25, 2017, 07:19:08 PM »
Maaf om suhu,alangkah baiknya diberikan screen shoot step by step utk yang awam krn terlalu beresiko otak atik database. Terima kasih

semoga berkenan memberikan lankah demi langkah..
Nyang mau di bisikin
BB 5C919B11
WA 081256411510
SMS 08115037003