ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

[Function Expose] CU 7000

Open LFlamme opened this issue 7 years ago • 3 comments

Hi,

we need function ActivatedCampaignExists in CU 7000 Sales Price Calc. Mgt. to be global/external.

Thanks in advance

LFlamme avatar Jan 14 '19 12:01 LFlamme

Hi @LFlamme ,

The ActivatedCampaignExists function does quite a few things at the same time and as it was not deemed to be an API function, it was kept as a LOCAL function,

  1. It creates a copy of the existing Campaign Target Group

  2. It returns TRUE if the copy has records

  3. Note that temporary records are passed on to this function.

We are curious to know what is your need and perhaps we may consider re-factoring the code to support that here.

Best regards

DuttaSoumya avatar Jan 14 '19 14:01 DuttaSoumya

Hi,

we pass an empty "Campaign Target Group". The other parameters are not empty. we use the return value as well as the returned "Campaign Target Group".

LFlamme avatar Jan 16 '19 13:01 LFlamme

Hello We also need ActivatedCampaignExists. We use the No. of the first ToCampaignTargetGr from ActivatedCampaignExists to filter the sales codes if the sales type = Campaign so we can get the best sales price for it.

BertDeTemmerman avatar Jan 28 '19 16:01 BertDeTemmerman