insert into afw43 (
	wseq, ktktcd, cls, cucd, cuscd, 
  sbat, sptyp, spnum, spri, 
  cudt, cdat, 
  pdat, 
  LCNT, cuedi
) values (
  :wseq, :ktktcd, 'P3', :cucd, :cuscd,
  :sbat, :typ, nvl(:cpnum,1), sysdate,
  :cudt, to_date(:cdat,'yyyy/mm/dd'),
  to_date(:pdat,'yyyy/mm/dd'),
  :pamt, :cuedi
)
