coolOrangeLabs / powerGateTemplate

powerGate full functional sample ERP integration
MIT License
3 stars 3 forks source link

Major: CompareErpBom and Check-Items incorreclty marks entities as "new" #208

Closed ThomasRossmeisl closed 2 years ago

ThomasRossmeisl commented 2 years ago

Description

The function "CompareErpBom" and "Check-Items" incorrectly marks assemblys and parts as "new" in multiple situations

This is a major issue as this can cause duplicate data to be created in the ERP system which might end up costing the customer tons of money

Steps to reproduce

Remarks

Relations

PatrickGrub commented 2 years ago

@kevinhallerCO this issue can be planned for @TollJulian when he completed his other pG Template issues.

kevinhallerCO commented 2 years ago

noticed, thanks @PatrickGrub

TollJulian commented 2 years ago

I modified the function, so that it differences between $null and $false (see above). this should fix the issue.

Pull Request open

ThomasRossmeisl commented 2 years ago

https://github.com/coolOrangeLabs/powerGateTemplate/commit/45420c3e3f6da367271adbba67422e31ee26d3b9