Hello,
I have plans to extend DiscreteOrderItem to have my custom ECertOrderItem. The intention is to generate unique eCertNumber (just like orderNumber) each time a certificate (my sku) is added to the cart or when checkout is performed. For this I have added an attribute to ECertOrderItem called eCertNumber.
My question are:
1) When and how is orderNumber generated
2) Should I use hibernate to generate uniqueID for ECertOrderItem as primary key and then have some algorithm (just like orderNumber) to get eCertNumber and expose it to customers.
As I am implementing this requirement for the first time, wanted to know if this approach is okay? I would appreciate if someone can help me on the ways unique IDs, that can be shared with users, are generated.
Thanks
Skala
This forum is in readonly mode and serves as an archive of old information. All posting, registration and commenting abilities have been turned off. To get help, the Broadleaf team reguarly monitors the broadleaf-commerce tag on Stack Overflow so please ask your questions there.