﻿SELECT
	A.FBILLNO,
	A.FID,
	A.FSTOCKORGID,
	A.FDOCUMENTSTATUS,
	AF.FBILLALLAMOUNT,
	AF.FBILLAMOUNT,
	AF.FBILLTAXAMOUNT
FROM
	T_SAL_OUTSTOCK A
	LEFT JOIN T_SAL_OUTSTOCKFIN AF ON A.FID = AF.FID