table m_movement / constraint cbpartnerlocation_mmovement incorrect

Description

Inventory move entering BP and BP location may result in error related to constraint cbpartnerlocation_mmovement. The constraint is incorrectly defined:

CONSTRAINT cbpartnerlocation_mmovement FOREIGN KEY (c_bpartner_location_id)
REFERENCES c_location (c_location_id) MATCH SIMPLE
ON UPDATE NO ACTION ON DELETE NO ACTION DEFERRABLE INITIALLY DEFERRED,
Should be:
CONSTRAINT cbpartnerlocation_mmovement FOREIGN KEY (c_bpartner_location_id)
REFERENCES c_bpartner_location (c_bpartner_location_id) MATCH SIMPLE
ON UPDATE NO ACTION ON DELETE NO ACTION DEFERRABLE INITIALLY DEFERRED,

_

Environment

None

Attachments

1

Activity

Show:

Michael Powacht September 3, 2017 at 8:04 AM

Issue can be closed, I don't seem to have the necessary JIRA privilege.

Heng Sin Low August 17, 2017 at 10:47 AM

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created July 7, 2017 at 8:56 AM
Updated November 1, 2017 at 11:51 AM
Resolved August 17, 2017 at 10:47 AM