Hello,
i want to know, how relationships between business objects work.
So I opened the sample application Ordering, and substituted the process "CreateOrder" with a process "MyCreateOrder", that
contained of the same rules as CreateOrder:
- CREATE PurchaseOrder WITH PurchaseOrder.Customer=Customer
- VIEW PurchaseOrder
When saving the process, the folling messagebox appears "possibly wrong object identifier Customer is used
used in rule Create Order. Do you want to proceed....?
I changed the process CreateOrderforCustomer, so that "MyCreateOrder" is called instead of "CreateOrder".
After that, I tested the application. Actually I only created a process that did the same operations as the original process.
I clicked on "new order", selected the customer, I get the error "Operation error. Value of Customer must be provided"
No Order form is viewed.
What I want to say with this is, that it's not possible for me to create business objects that are related to another object.
But that can't be that difficult, that should be a basic functionality and should be implemented quickly.
Please let me know, where I made the mistakes.
Kind regards
Christian
Relation between business objects - example "Ordering&q
-
- Posts: 68
- Joined: Wed Oct 04, 2006 2:46 pm
-
- Site Admin
- Posts: 65
- Joined: Sun Jan 02, 2005 4:36 am
- Contact:
Christian,
Most probably the reason is that the process MyCreateOrder you have created does not have object Customer specified as its input. A process needs a business object specified as its input so the object, in this case Customer, is available in the context for the process. This is why you are getting messages "possibly wrong object identifier Customer is used" and "Operation error. Value of Customer must be provided".
Please inspect process CreateOrder and note object Customer as the process input. If you make your process the same as CreateOrder it should work just as well.
Most probably the reason is that the process MyCreateOrder you have created does not have object Customer specified as its input. A process needs a business object specified as its input so the object, in this case Customer, is available in the context for the process. This is why you are getting messages "possibly wrong object identifier Customer is used" and "Operation error. Value of Customer must be provided".
Please inspect process CreateOrder and note object Customer as the process input. If you make your process the same as CreateOrder it should work just as well.
-
- Posts: 68
- Joined: Wed Oct 04, 2006 2:46 pm