公告板
版本库
filestore
活动
搜索
登录
黄千龙
/
OlyMEBG
派生自
OlyMEBG
概况
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
BackupPIPLFunction0413
Li Jun
2022-04-13
5c01ebbfddb6b8674430b47c22977bea2e350084
[~huangqianlong/OlyMEBG.git]
/
force-app
/
main
/
default
/
objects
/
Repair_receipt__c
/
fields
/
DeadlineLastMonthPeriodPaymentAmount__c.field-meta.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?xml version="1.0" encoding="UTF-8"?>
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata">
<fullName>DeadlineLastMonthPeriodPaymentAmount__c</fullName>
<description>1.当前月为1月、2月、3月时,开始日为上一年度的4月1日,否则为本年度的4月1日
2.截止日期为上个月的最后一天
3.当"付款日期"介于1和2之间时,取"付款金额",否则,取0</description>
<externalId>false</externalId>
<formula>IF( AND(IF( AND(MONTH(today())>=1,MONTH(today()) <= 3) ,DATE(YEAR(today())-1, 4, 1), DATE(YEAR(today()), 4, 1)) <=PaymentDate__c,PaymentDate__c <= Date(YEAR(TODAY()), MONTH(TODAY()) , 1)-1) ,PaymentAmount__c, 0)</formula>
<formulaTreatBlanksAs>BlankAsZero</formulaTreatBlanksAs>
<label>上月止当期回款</label>
<precision>18</precision>
<required>false</required>
<scale>2</scale>
<trackHistory>false</trackHistory>
<trackTrending>false</trackTrending>
<type>Number</type>
<unique>false</unique>
</CustomField>