I am Planning to implement Quality Check in Facility Module, I am planning to implement Quality Check for those materials whose purchase order has been created , this Quality Check is not mandatory for all the products,but only for those products on which we want to perform Quality Check , so we will create a Quality Check Plan for that material , and this will be done by assigning some parameters to that material , to implement this i have created a Quality check plan tab which contains other sub tabs such as Add Quality Parameters,View Quality Parameters,Quality Check Plan Details. The following are the steps which are used to Create Quality Check plan :
On the Create Quality check plan screen, we will first ask the user that whether the Quality Check Plan is required or Not ?
If QCP(Quality Check Plan) is required, then we will create a Quality Check Plan for that purchase order by selecting a particular parameter Id(This parameter Id is the Primary key of other table which contain's all the parameters on the basis of which the Quality Check will be performed) .This parameter Id is associated with the QCP Id while creating QCP for a paricular product.At this step Quality Check plan will be Created.
Then I have created a Tab called Add Quality Parameters which is used to add parameters to a particular product and simultaneously a parameter Id will be generated for that product ,which contains all the parameters, we associate these parameters with the quality check plan with hte help of QualityParam id.
Then we have a sub tab called Quality Check Plan Details to view all the Plans that have been created, which includes the information like Quality Check plan ID,Product Id and Quality Param Id. I have also created a tab called View Quality Parameters which is used to view all the parameters that are associated with a particular product this will include information suchas QualityParamId,QualitySubParamId,ProductId and Parameters.
In existing Ofbiz Framework we have a Facility Module in which there is a tab called Receive Inventory which is used to receive Purchased items into the inventory ,now in that i am thinking to performQuality Check of the received materials, i am palnning to implement it by first looking up the purchase order id and finding that for a particular product, Quality Check Plan exits or not ,if Quality Check Plan doesn't exist then receive the Inventory and if the Quality Check Plan exists, then another screen will open which will contain all the parameters that are associated with a particular product & we perform Quality Check of it by checking the check boxes against each parameter and after checking the parameters in the check box we will maintain that information into the database & then will receive the product into the inventory .There will be one tab which will provide provision to show the past Quality Check which was performed.
So kindly suggest should I continue in this way or you have some other suggestion regarding Quality Check in Facility Module