fill mandatory columns in bank_account
This commit is contained in:
parent
76ff1fa31b
commit
374a39bd9b
@ -89,10 +89,11 @@ INSERT INTO contact (bp_id, salut, first_name, last_name, firma, email)
|
||||
--
|
||||
-- table: bank_account
|
||||
--
|
||||
INSERT INTO bank_account (bp_id, bank_customer, bank_account, bank_code, bank_name, mandat_ref, mandat_signed, mandat_since)
|
||||
SELECT bp_id, '', '', '', '', member_id, current_date, current_date
|
||||
INSERT INTO bank_account (bp_id, bank_customer, bank_account, bank_code, bank_name, bank_iban, bank_bic, mandat_ref, mandat_signed, mandat_since)
|
||||
SELECT bp_id, '', '', '', '', 'DEXX', 'XXX', member_id, current_date, current_date
|
||||
FROM business_partner WHERE member_id=10000;
|
||||
|
||||
|
||||
--
|
||||
-- Table: inet_addr
|
||||
--
|
||||
|
Loading…
Reference in New Issue
Block a user