ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

Event Request - To all CreateDim Functions

Open MiRo65 opened this issue 8 years ago • 7 comments

Please add new Event in all CreateDim functions (in tables for example Table 37) as last line, in Addition to the existing Event OnAfterCreateDimTableIds, to add function after the Dims are created. Thank you.

image

MiRo65 avatar Sep 17 '18 09:09 MiRo65

Can you explain what do you want to do after creation of dimensions? Which parameters do you need?

AlexanderYakunin avatar Sep 17 '18 14:09 AlexanderYakunin

Parameters: Rec + CurrFieldNo. In our branch solution we have dimensions to Job planning lines which doesn't have a single filed as primkey. If more then 1 fields are the prime key we copy this Job planning dimensions into the Standard dimensions using a unique timestamp as primKey. After the Dimension creating we have to delete that Dimension. For the creating we can use the existing OnAfterCreateDimTableID, but we Need an other Event to delete our Dimension out of the Dimension table. CreateDim_T37.txt I have attached the Code example of table 37.

MiRo65 avatar Sep 19 '18 06:09 MiRo65

There is something wrong in your implementation, please reconsider it. Or you can use another implementation of CreateDim function

AlexanderYakunin avatar Sep 19 '18 13:09 AlexanderYakunin

Some customers want to have additional Dimensions in fixed table fields. this publisher could be used to fill these fields.

stephanweidmann avatar Sep 25 '18 12:09 stephanweidmann

I cannot do such massive change across all application tables with dimensions with such justification. There are many other options to achieve same result, you can use current event OnAfterCreateDimTableIDs(Rec,CurrFieldNo,TableID,No) in each CreateDim function

AlexanderYakunin avatar Sep 26 '18 08:09 AlexanderYakunin

In OnAfterCreateDimTableIDs, the new Dimension Set ID is not available. So to fill a new field like described, the Dimension set would be created twice.

In T246 (Requisition Line) there exists OnAfterCreateDim(Rec,xRec);****

stephanweidmann avatar Sep 26 '18 08:09 stephanweidmann

Closing as result of conversation. Resolution appears to be "Won't fix". Please submit alternative issues if you still are blocked on this.

JesperSchulz avatar Nov 22 '18 10:11 JesperSchulz