when we call m_inout then - field - movementtype must be set by frontend - otherwise REST call fail. I suggest to add to beforesave from callout - then m_inout.movementtype will be handled by backend.
Environment
None
Activity
Show:
Tony Snook December 10, 2021 at 3:00 AM
Edited
Found a typo in beforeSave method, C_DocType should have been C_DocType_ID. Have created pull request 1045 to fix.
when we call m_inout then - field - movementtype must be set by frontend - otherwise REST call fail.
I suggest to add to beforesave from callout - then m_inout.movementtype will be handled by backend.