You are on page 1of 2

-- KILL 86 -- Kill process having session_id 86

-- To find out sessions which acquired EXCLUSIVE locks, modify above mentioned
query as follow
SELECT DISTINCT
name AS database_name,
session_id,
host_name,
login_time,
login_name,
reads,
writes
FROM
sys.dm_exec_sessions
LEFT OUTER JOIN sys.dm_tran_locks ON sys.dm_exec_sessions.session_id =
sys.dm_tran_locks.request_session_id
INNER JOIN sys.databases ON sys.dm_tran_locks.resource_database_id =
sys.databases.database_id

Description:
Cannot key in payment for B08, B09 (Marina 2). Jades.Net show total payment had
full. Suppose able to key in last 5% payment
Solution:
B08 -> no issue B09 -> MPSB-R000106 refund to client. Suppose refund to Bank 1)
Amend table claim tdbo.jd_progress_claims - remove 6809 and edit jpcl_jpgs_id 2)
Table Sales, amend total payment 3) table jd_refund, amend MPSB-R000106 refund
to Bank
FYI. Table to check Progress Claim status and Progress Claim Payment
-- table parcel information get parcel ID
select * from dbo.jd_parcels where jpar_parcel_no = 'B09'
-- table sales information get sale ID
select * from dbo.jd_sales where jsal_parcel_id = '875'
and jsal_sales_status = 'A' -- sale_id 696
-- table payment tracking. Tie to stage
select * from dbo.jd_progress_claims where jpcl_sales_id = '696'
-- table payment receive. All receive payment and receipt number
select * from dbo.jd_progress_claims_receive where jpcr_sales_id = '696'
-- table refund. All refund and refund receipt
select * from dbo.jd_refund where jref_sales_id = '696'
-- Stage status tracking
select * from dbo.jd_sales_parcel_status

where jsps_sales_id = '696'

You might also like