basic flowchart of a dms processing plant module