Requirement / Request / Order relationship

2022-04-10 Thread Emad Radwan
Hello Community,

My understanding from reading Silverston book that subject artifact could be 
related. meaning that I can create a request for a customer and later convert 
it to a sales order or base the order on the request, however, I can’t find 
where in Ofbiz that can be achieved. 

Will appreaciate it if you enlighten me.

Regards,
Emad





Re: Store / Facility Relationship

2022-04-10 Thread Michael Brohl

Hi Emad,

yes. ProductStore.oneInventoryFacility indicates that there is only one 
inventory to check and the one referenced by inventoryFacilityId is used.


If you search the codebase for the mentioned fields you will find the 
business logic which handles it.


Best regards,

Michael Brohl

ecomify GmbH - www.ecomify.de


Am 10.04.22 um 16:10 schrieb Emad Radwan:

Hello Michael,

Thanks a lot. So, in this case can I consider the value in 
‘Inventory_Facility_Id’ as a kind on denormalization to provide a default value?

Regards,
Emad



On 10 Apr 2022, at 11:12 AM, Michael Brohl  wrote:

Hi Emad,

please have a look at the facility entity, which has a reference to a product 
store. You can have as much facilities referencing a product store as you want.

You can also have a facility hierarchy by connecting multiple facilities to a 
parent facility.

Best regards,

Michael Brohl

ecomify GmbH - www.ecomify.de


Am 10.04.22 um 03:23 schrieb Emad Radwan:

Hello Community,

I noticed that in the ‘product store’ screen we can assign only one facility - 
via ‘Inventory Facility Id’, isn’t that
a bit restricting or maybe I’m missing something.

Regards,
Emad


Re: Store / Facility Relationship

2022-04-10 Thread Emad Radwan
Hello Michael,

Thanks a lot. So, in this case can I consider the value in 
‘Inventory_Facility_Id’ as a kind on denormalization to provide a default value?

Regards,
Emad


> On 10 Apr 2022, at 11:12 AM, Michael Brohl  wrote:
> 
> Hi Emad,
> 
> please have a look at the facility entity, which has a reference to a product 
> store. You can have as much facilities referencing a product store as you 
> want.
> 
> You can also have a facility hierarchy by connecting multiple facilities to a 
> parent facility.
> 
> Best regards,
> 
> Michael Brohl
> 
> ecomify GmbH - www.ecomify.de
> 
> 
> Am 10.04.22 um 03:23 schrieb Emad Radwan:
>> Hello Community,
>> 
>> I noticed that in the ‘product store’ screen we can assign only one facility 
>> - via ‘Inventory Facility Id’, isn’t that
>> a bit restricting or maybe I’m missing something.
>> 
>> Regards,
>> Emad



Re: Store / Facility Relationship

2022-04-10 Thread Michael Brohl

Hi Emad,

please have a look at the facility entity, which has a reference to a 
product store. You can have as much facilities referencing a product 
store as you want.


You can also have a facility hierarchy by connecting multiple facilities 
to a parent facility.


Best regards,

Michael Brohl

ecomify GmbH - www.ecomify.de


Am 10.04.22 um 03:23 schrieb Emad Radwan:

Hello Community,

I noticed that in the ‘product store’ screen we can assign only one facility - 
via ‘Inventory Facility Id’, isn’t that
a bit restricting or maybe I’m missing something.

Regards,
Emad