11-22-2022 11:42 AM - last edited on 05-02-2023 09:52 AM by JackLacava
Hi,
We have a seeding rule that is copying zeros:
sourceActualsBuffer = api.Data.GetDataBuffer(DataApiScriptMethodType.Calculate,S#Actual_Opco:U5#None,False, destinationBuffer)
I am trying to change it so it does not include zeros, by applying the removezeros function:
sourceActualsBuffer = api.Data.GetDataBuffer(DataApiScriptMethodType.Calculate,"RemoveZeros(S#Actual_Opco:U5#None)",False, destinationBuffer)
When I do this, I get an error see attachmement.
I tried to change the quotes RemoveZeros("S#Actual_Opco:U5#None") but then i get a different error when validating.
Could not find anything in the reference on how to fix this. Anybody can help?
Solved! Go to Solution.
11-23-2022 02:55 AM
Hi, you can use GetDataBufferUsingFormula, e.g.
11-23-2022 02:55 AM
Hi, you can use GetDataBufferUsingFormula, e.g.
11-23-2022 10:46 AM
Thanks Henning! seems to work. Need to further test it!