跳至主要内容
Adaptive Planning
上次更新时间 :2023-06-23
为 5 年计划中的年薪加薪创建公式

为 5 年计划中的年薪加薪创建公式

This article includes suggestions and workarounds. Content may not be accurate for all use cases or represent best practices for the latest release.

问题

我正在构建一个 5 年计划,需要包括所有员工在每年 7 月的年度加薪。我的工资公式如下:
ROW.PartialHeadcount* if(ROW.Per="hr",ROW.HrPerWeek*(2080)/(480), 1/12) * ROW.PayRate * (1+ASSUM.DC_Staff.RaisePct)
针对 2010 年 7 月至 2015 年 12 月期间的加薪金额,在每个单元格中输入了 5%。
  • 如果我在“每年 7 月”的“加薪月份”中输入“1”,则 7 月的工资会增加,然后在每年 8 月恢复原状。
  • 如果我在 2010 年 7 月至 2015 年 12 月的每个月的“加薪”月份中都填写“1”,则我在 2010 年 7 月获得 5% 的加薪,然后在每年 1 月获得 5% 的加薪。
  • 如果我未在“加薪月份”填写任何内容,则每个人都会在雇用纪念日获得 5% 的加薪。
如何修改公式以仅在每年 7 月进行加薪?

答案

默认单位薪资公式中的内置逻辑可解释以下情况:
if((versionmonth(this) > 0) and ROW.Headcount>0 and (((versionmonth(this) - versionmonth(ROW.StartDate) > 1) and
ASSUM.Personnel.RaiseMonth
= 0 and fiscalmonth(this) = fiscalmonth(ROW.StartDate)) or (
ASSUM.Personnel.RaiseMonth
=month(this))),ROW.PayRate[time=THIS-1]*
ASSUM.Personnel.RaisePct,
0)
“单位薪资”账户是一个累计计划(按余额)账户。如果要在 7 月为所有员工加薪,请在自 2010 年 7 月开始的加薪月份假设中添加“7”,并向前复制该值。然后在 2010 年 7 月添加 5% 并往下复制。这将为您提供预期的结果。此外,请确保将工资账户也改回默认公式。