hii all,
in a editable grid i am fetching backend data by selecting a product name ,if i have selected product name then in next field the respected product description should come , after filling all the fields in editable grid i am going to submit and updating a data base , here every field of editable grid is storing except the product description, respected product description is showing in the grid layout but its not storing in to data base ,but if i edit that product desciption and submitting then its storing in the database . please help me
my requirement is to fetch product description by selecting a product name in grid and storing it in to the database
thanks and regards,
b ramesh babu
Discussion posts and replies are publicly visible
Hi Ramesh Babu ,
are you using process model or a!writeToDataStoreEntity() function in UI to write to database?
1. Verify whether your data(description) is saving to variables.
2. While submitting verify the appropriate variable is passed to the valueToStore parameter.
3. Investigate pv variables if you are using PM to write data.
4. Make sure you are not saving any null values while submitting.
Kindly check whether you are passing correct value in valueTostore parameter of writeToDataStoreEntity.
When you are selecting a row, you will be storing the selected row into a variable. Check that variable once.
hii kiran, i am using process model , here what happening is in interface , i am fetching product description from backend data table , if i have selected a product name in editable grid then the respected product description is coming in the product description field , but it is not storing in the local variable , when ever i am just editing that description then its storing and as well as saving into the main data table i dont know whats going there
hii sangeetha,
i am passing correct values only, i am using process model , here what happening is in interface , i am fetching product description from backend data table , if i have selected a product name in editable grid then the respected product description is coming in the product description field , but it is not storing in the local variable , when ever i am just editing that description then its storing and as well as saving into the main data table i dont know whats going there
Ramesh Babu If possible can you share snip of the code?
There is some issue in the input of the grid or in the selection
in that case save the product description to local var in the saveInto of product name field. In the saveInto parameter of productName field fetch the productDescription and save to repective local variables.
You are saying that when editing the description, then its storing. You mean then its storing into the local variable??? If yes, then there needs to be an user interaction to store values in a variable. I think you are editing other fields but the description is maybe read only. That might be a reason for this behaviour.