Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

order's effective bill-contact - only fall back if consistent #12466

Merged
merged 1 commit into from Feb 3, 2022

Conversation

metas-ts
Copy link
Member

@metas-ts metas-ts commented Feb 3, 2022

only fall back to the order's AD_User as bill-contact if it's consisten with the order's Bill_Partner

only fall back to the order's AD_User as bill-contact if it's consisten with the order's Bill_Partner
Copy link
Member Author

@metas-ts metas-ts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@@ -80,11 +80,19 @@
*/
I_AD_User getShipToUser(I_C_Order order);

/**
* @return the order's bill location <b>OR</b> falls back to the "general" contact ({@code C_Order.C_BParter_Location_ID}).
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* @return the order's bill location <b>OR</b> falls back to the "general" contact ({@code C_Order.C_BParter_Location_ID}).
* @return the order's bill location <b>OR</b> falls back to the "general" location ({@code C_Order.C_BParter_Location_ID}).


if (order.getAD_User_ID() <= 0)
{
return null; // nothing we can fall back to
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
return null; // nothing we can fall back to
return null; // nothing we could fall back to

@metas-ts
Copy link
Member Author

metas-ts commented Feb 3, 2022

going to integrate now; will keep a keen eye on the scary_plum_hotfix build

@metas-ts metas-ts changed the title getting order's effective bill-contact - only fall back if consistent order's effective bill-contact - only fall back if consistent Feb 3, 2022
@metas-ts metas-ts merged commit 885036f into scary_plum_hotfix Feb 3, 2022
@metas-ts metas-ts deleted the scary_plum_hotfix_billContact branch February 3, 2022 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants