Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Done
-
Trunk
-
None
-
None
Description
The entity PicklistStatusHistory record each status change realized on picklist.
It can't be convert to entity-auto easily because PicklistStatusHistory's fields pattern doesn't follow same entities like ShipmentStatus and PartyStatus.
I propose to deprecate the entity PicklistStatusHistory:
<entity entity-name="OldPicklistStatusHistory" table-name="PICKLIST_STATUS_HISTORY" package-name="org.apache.ofbiz.shipment.picklist" title="Picklist Status History"> <field name="picklistId" type="id"></field> <field name="changeDate" type="date-time"></field> <field name="changeUserLoginId" type="id-vlong"></field> <field name="statusId" type="id"></field> <field name="statusIdTo" type="id"></field> <prim-key field="picklistId"/> <prim-key field="changeDate"/>... </entity>
and replace it with an entity managed natively by entity-auto engine
<entity entity-name="PicklistStatus" package-name="org.apache.ofbiz.shipment.picklist" title="Picklist Status History"> <field name="picklistId" type="id"/> <field name="statusDate" type="date-time"/> <field name="changeByUserLoginId" type="id-vlong"/> <field name="statusId" type="id"/> <field name="statusIdTo" type="id"/> <prim-key field="picklistId"/> <prim-key field="statusDate"/>... </entity>
Attachments
Attachments
Issue Links
- Dependent
-
OFBIZ-10636 Convert Picklist related CRUD services from simple to entity-auto
- Closed
- mentioned in
-
Page Loading...