Forum Discussion
Sergey
2 years agoContributor III
Hi Marcus,
Thank you for your feedback. The intellisence is giving a contradicting info :
There is also a compiling error when you add the "si," .
Regards,
MarcusH
2 years agoValued Contributor
There is an example in GolfStream: Dashboard Extender, DBP_SolutionHelper. That uses BRApi rather than api and that call needs si:
If allocPrice > "" Then
allocOptions.SourcePOVMemberScript = memberScript & ":A#[List Price]"
allocOptions.SourceCalcScript = allocPrice
allocOptions.DestCalcScript = "|SourceAmount|)"
allocResult = brapi.Finance.Data.CalculateAllocationResult(si, allocOptions)
brapi.finance.data.SaveAllocationResult(si, allocResult)
End If
Related Content
- 2 years ago
- 5 months ago