Commit 7d58cfcb by taufikyu

tambahkan commit ketika update flagging

1 parent 356a8972
...@@ -55,6 +55,7 @@ def update_flagging(kd_bayar): ...@@ -55,6 +55,7 @@ def update_flagging(kd_bayar):
.filter(ARInvoice.kode == kd_bayar).scalar() .filter(ARInvoice.kode == kd_bayar).scalar()
DBSession.query(ARSspd).filter(ARSspd.arinvoice_id==id_inv).\ DBSession.query(ARSspd).filter(ARSspd.arinvoice_id==id_inv).\
update({ARSspd.posted_pemda: 1}, synchronize_session='fetch') update({ARSspd.posted_pemda: 1}, synchronize_session='fetch')
DBSession.commit()
def sendrpc(kd_bayar): def sendrpc(kd_bayar):
print('STARTING RPC CALLBACK PEMDA') print('STARTING RPC CALLBACK PEMDA')
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!