Sometimes we may get the following error when we run the WIP posting in Sage X3 V12
Labor variance aggregation parameter is missing under setup->purchase module
Click the Accounting aggregation parameters function under Purchasing sub module from setup
Create one transaction for “Labor variance” and enter [F:MWI]VCRNUM
If we get the same error for Machine variance then create one more transaction for “Machine variance” and try again with WIP posting.