SQL-051 Propagate the primary body part to the injury claim¶
Propagates the primary body part and side to CL_INJURY_CLAIM when the worker injured-body-part object is dirty and marked primary (or blanks them when clearing).
-- Propagate primary body part to injury claimUpdateCL_INJURY_CLAIMSetBODY_PART_CODE=:BodyPartCode,BODY_PART_SIDE_CODE=:BodyPartSideCode,UPDATE_NUM=UPDATE_NUM+1,UPDATE_USER_ID=:UpdateUser,UPDATE_DATE=SYSDATEWhereCLAIM_ID=:ClaimID