Ashish,
"createRequirementFromItemATP" should. I wrote it, and I thought it did...
As to associating with a facility... Pardon me for asking this, but if
the requirement is an automatic requirement every time an order is
created, why should it be linked to a facility? If you had multiple
facilities, how would you know which facility it should be assigned to,
if all you have is an order?
Si
Ashish Hareet wrote:
>Two services that gather my interest.
>
>"checkCreateStockRequirement" takes into account any requirements that are in the REQ_CREATED state
>to decide if it has to generate a requirement or not...
> *Shouldn't it also take into account any requirements in the REQ_ORDERED state
>
>"createRequirementFromItemATP" doesn't take into account any of the existing requirements, it
>just creates the requirement
> *should it not...
>
>Also, when requirement enum id for a product is set to "PRODRQM_AUTO", the requirement doesn't
>get associated with a facility in the "RequirementByProductFacility" entity
>
>Can somebody provide me with some explanation for the above.
>
>What would be the best place to add my own custom requirement code...
>
>Appreciate any valuable feedback
>Ashish Hareet
>
http://www.cpbinc.com>
>_______________________________________________
>Users mailing list
>
[hidden email]
>
http://lists.ofbiz.org/mailman/listinfo/users>
>
>
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users