IDEMPIERE-894 Not Possible to Link Business Partner to an Organization

This commit is contained in:
Carlos Ruiz 2013-05-04 16:05:53 -05:00
parent bfe29b05c7
commit 21e3dc7b87
3 changed files with 25 additions and 1 deletions

View File

@ -0,0 +1,12 @@
-- May 4, 2013 4:02:25 PM COT
-- IDEMPIERE-894 Not Possible to Link Business Partner to an Organization
UPDATE AD_Column SET IsAllowCopy='N',Updated=TO_DATE('2013-05-04 16:02:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=10927
;
-- May 4, 2013 4:03:03 PM COT
UPDATE AD_Column SET IsAllowCopy='N',Updated=TO_DATE('2013-05-04 16:03:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=8757
;
SELECT register_migration_script('201305041605_IDEMPIERE-894.sql') FROM dual
;

View File

@ -0,0 +1,12 @@
-- May 4, 2013 4:02:25 PM COT
-- IDEMPIERE-894 Not Possible to Link Business Partner to an Organization
UPDATE AD_Column SET IsAllowCopy='N',Updated=TO_TIMESTAMP('2013-05-04 16:02:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=10927
;
-- May 4, 2013 4:03:03 PM COT
UPDATE AD_Column SET IsAllowCopy='N',Updated=TO_TIMESTAMP('2013-05-04 16:03:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=8757
;
SELECT register_migration_script('201305041605_IDEMPIERE-894.sql') FROM dual
;

View File

@ -538,7 +538,7 @@ public class MBPartner extends X_C_BPartner
if (AD_OrgBP_ID == 0)
super.setAD_OrgBP_ID (null);
else
super.setAD_OrgBP_ID (String.valueOf(AD_OrgBP_ID));
super.set_Value("AD_OrgBP_ID", AD_OrgBP_ID);
} // setAD_OrgBP_ID
/**