Good day everyone..
When the user save the form and it will activate the proces called "CreateLocationProduct_ItemFinish":
If ItemFinish IS NEW Then
FIND ALL Location
CREATE LocationProduct FOR EACH Location WITH LocationProduct.MyLocationID=Location,LocationProduct.MyItemID=ThisItemFinish.MyItemID,LocationProduct.MyFinishID=ThisItemFinish.MyFinishID,LocationProduct.MyItemFinishID=ThisItemFinish
If NOT(ItemFinish IS NEW ) AND NOT(EXISTS LocationProduct WHERE (LocationProduct.MyItemFinishID=ThisItemFinish.ID)) Then
FIND ALL Location
CREATE LocationProduct FOR EACH Location WITH LocationProduct.MyLocationID=Location,LocationProduct.MyItemID=ThisItemFinish.MyItemID,LocationProduct.MyFinishID=ThisItemFinish.MyFinishID,LocationProduct.MyItemFinishID=ThisItemFinish
The process worked.
But when I view the Log Viewers:
- Executing process CreateLocationProduct_ItemFinish with parameters: ItemFinish:2219
- "Value of Location could not be resolved"
"Evaluating rule 'LocationProduct' If ItemFinish IS NEW Then FIND ALL Location CREATE LocationProduct FOR EACH Location WITH LocationProduct.MyLocationID=Location,LocationProduct.MyItemID=ThisItemFinish.MyItemID,LocationProduct.MyFinishID=ThisItemFinish.MyFinishID,LocationProduct.MyItemFinishID=ThisItemFinish "
"Evaluating rule 'Create Location Product' If NOT(ItemFinish IS NEW ) AND NOT(EXISTS LocationProduct WHERE (LocationProduct.MyItemFinishID=ThisItemFinish.ID)) Then FIND ALL Location CREATE LocationProduct FOR EACH Location WITH LocationProduct.MyLocationID=Location,LocationProduct.MyItemID=ThisItemFinish.MyItemID,LocationProduct.MyFinishID=ThisItemFinish.MyFinishID,LocationProduct.MyItemFinishID=ThisItemFinish "
"Adding action FIND ALL Location to the agenda"
"Adding action CREATE LocationProduct FOR EACH Location WITH LocationProduct.MyLocationID=Location,LocationProduct.MyItemID=ThisItemFinish.MyItemID,LocationProduct.MyFinishID=ThisItemFinish.MyFinishID,LocationProduct.MyItemFinishID=ThisItemFinish to the agenda"
"Executing action FIND ALL Location"
"Executing action CREATE LocationProduct FOR EACH Location WITH LocationProduct.MyLocationID=Location,LocationProduct.MyItemID=ThisItemFinish.MyItemID,LocationProduct.MyFinishID=ThisItemFinish.MyFinishID,LocationProduct.MyItemFinishID=ThisItemFinish"
My Question is "Value of Location could not be resolved"... it is ok to show this line as I do not whether my rules anything wrong?
Please help....