Revenue Recognition Revenue Recognition for SOAP API Developers Revenue Recognition APIs RevRec Action Class Current: Allow Generate Revenue PDF Download PDF Download page Allow Generate Revenue. Current page All pages Allow Generate Revenue allowGenerateRevenue API checks if the Generate Revenue Action is allowed for the given Agreement and Legal Entity. result allowGenerateRevenue2(agreementID, legalEntityID)This API accepts the agreement ID and legal entity ID as input parameters. It checks the RevRec Active flag and returns 1 if it selected.Request ParametersRequestFieldTypeRequiredDescriptionagreementIDIDYesID of the Agreement.legalEntityIDIDYesID of the Legal EntityResponse ParameterResponseFieldTypeDescriptionresultIntegerReturns 1 if the RevRec Active checkbox is selected.Returns 0 if the RevRec Active checkbox is clear.Code Sample ID agreementId = 'a566A000000PRh5QAG'; ID legalEntityId = 'a566A000000PRh87GH'; Apttus_Revenue2.RevRecAction. allowGenerateRevenue2(agreementId, legalEntityId); CODE ×