Line 3:
Line 3:
This module can be used to receive request by a company to be a preferred partner. Validate, follow and cancel partnership.
This module can be used to receive request by a company to be a preferred partner. Validate, follow and cancel partnership.
+
The module is generic and it will be possible to use it for a lot of use case.
+
Line 88:
Line 90:
*delete (Delete partnerships)
*delete (Delete partnerships)
+
=Batch=
+
We must have a cron job that cancel status of partnership when subscription is expired + x days (x is a parameter of the cron job). This cron task must be supplied by module.
+
If option 'PARTNERSHIP_IS_MANAGED_FOR' = 'thirdparty', this cron job does nothing.
=Note=
=Note=
Module and new managed objects must be generated with modulebuilder.
Module and new managed objects must be generated with modulebuilder.