INSERT INTO cmn.t_product_plan
(
	working_day,
	module_id,
	line_id,
	ptn_group,
	employee_no,
	work_ptn_id,
	parts_id,
	process_id,
	product_type,
	quantity,
	note,
	create_date,
	create_user,
	update_date,
	update_user
)
VALUES
(
	'@@@ProductionDate@@@', /* PK:working_day */
	@@@ModuleId@@@,		/* PK:module_id */
	@@@LineId@@@,		/* PK:line_id */
				/* PK:ptn_group (character varying(20)) */
	'',			/* employee_no (character varying(10)) */
	0,			/* PK:work_ptn_id (integer) */
	0,			/* PK:parts_id (integer) */
	0,			/* PK:process_id (integer) */
	'@@@PartNo@@@',		/* PK:product_type (character varying(15)) */
	@@@PlanQty@@@,		/* quantity (integer) */
	'',			/* note (text) */
	NOW(),			/* create_date (timestamp(6) without time zone) */
	'SYSTEM',		/* create_user (character varying(20)) */
	NOW(),			/* update_date (timestamp(6) without time zone) */
	'SYSTEM'		/* update_user (character varying(20)) */
);
--INSERT INTO cmn.t_product_plan (module_id, line_id, process_id, part_no, seisan_date, keikaku_su)
--	VALUES (@@@ModuleId@@@, @@@LineId@@@, @@@ProcessGroup@@@, '@@@PartNo@@@', '@@@ProductionDate@@@', @@@PlanQty@@@);