Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6000 from metasfresh/gh5999
Gh5999 Add Shipment to Customs Invoice
- Loading branch information
Showing
12 changed files
with
560 additions
and
236 deletions.
There are no files selected for viewing
78 changes: 78 additions & 0 deletions
78
...resql/system/10-de.metas.adempiere/5540660_sys_gh5987_Add_Shipment_To_Customs_Invoice.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
-- 2020-01-07T13:42:28.321Z | ||
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator | ||
INSERT INTO AD_Process (AccessLevel,AD_Client_ID,AD_Org_ID,AD_Process_ID,AllowProcessReRun,Classname,CopyFromProcess,Created,CreatedBy,EntityType,IsActive,IsApplySecuritySettings,IsBetaFunctionality,IsDirectPrint,IsOneInstanceOnly,IsReport,IsServerProcess,IsTranslateExcelHeaders,IsUseBPartnerLanguage,LockWaitTimeout,Name,RefreshAllAfterExecution,ShowHelp,Type,Updated,UpdatedBy,Value) VALUES ('3',0,0,541240,'Y','de.metas.customs.process.M_InOut_AddTo_CustomsInvoice','N',TO_TIMESTAMP('2020-01-07 15:42:28','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','N','N','N','N','N','N','Y','Y',0,'Add Shipments To Customs Invoice','N','N','Java',TO_TIMESTAMP('2020-01-07 15:42:28','YYYY-MM-DD HH24:MI:SS'),100,'M_InOut_AddTo_CustomsInvoice') | ||
; | ||
|
||
-- 2020-01-07T13:42:28.331Z | ||
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator | ||
INSERT INTO AD_Process_Trl (AD_Language,AD_Process_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language, t.AD_Process_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process t WHERE l.IsActive='Y'AND (l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N') AND t.AD_Process_ID=541240 AND NOT EXISTS (SELECT 1 FROM AD_Process_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Process_ID=t.AD_Process_ID) | ||
; | ||
|
||
-- 2020-01-07T13:43:01.929Z | ||
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator | ||
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAutocomplete,IsCentrallyMaintained,IsEncrypted,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,187,0,541240,541661,30,'C_BPartner_ID',TO_TIMESTAMP('2020-01-07 15:43:01','YYYY-MM-DD HH24:MI:SS'),100,'Bezeichnet einen Geschäftspartner','D',0,'Ein Geschäftspartner ist jemand, mit dem Sie interagieren. Dies kann Lieferanten, Kunden, Mitarbeiter oder Handelsvertreter umfassen.','Y','N','Y','N','Y','N','Geschäftspartner',10,TO_TIMESTAMP('2020-01-07 15:43:01','YYYY-MM-DD HH24:MI:SS'),100) | ||
; | ||
|
||
-- 2020-01-07T13:43:01.935Z | ||
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator | ||
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language, t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y'AND (l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N') AND t.AD_Process_Para_ID=541661 AND NOT EXISTS (SELECT 1 FROM AD_Process_Para_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Process_Para_ID=t.AD_Process_Para_ID) | ||
; | ||
|
||
-- 2020-01-07T13:43:44.053Z | ||
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator | ||
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,AD_Val_Rule_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAutocomplete,IsCentrallyMaintained,IsEncrypted,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,189,0,541240,541662,30,131,'C_BPartner_Location_ID',TO_TIMESTAMP('2020-01-07 15:43:43','YYYY-MM-DD HH24:MI:SS'),100,'Identifiziert die (Liefer-) Adresse des Geschäftspartners','D',0,'Identifiziert die Adresse des Geschäftspartners','Y','N','Y','N','Y','N','Standort',20,TO_TIMESTAMP('2020-01-07 15:43:43','YYYY-MM-DD HH24:MI:SS'),100) | ||
; | ||
|
||
-- 2020-01-07T13:43:44.057Z | ||
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator | ||
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language, t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y'AND (l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N') AND t.AD_Process_Para_ID=541662 AND NOT EXISTS (SELECT 1 FROM AD_Process_Para_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Process_Para_ID=t.AD_Process_Para_ID) | ||
; | ||
|
||
-- 2020-01-07T13:44:11.276Z | ||
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator | ||
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAutocomplete,IsCentrallyMaintained,IsEncrypted,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,576742,0,541240,541663,30,'C_Customs_Invoice_Line_ID',TO_TIMESTAMP('2020-01-07 15:44:11','YYYY-MM-DD HH24:MI:SS'),100,'D',0,'Y','N','Y','N','N','N','Customs Invoice Line',30,TO_TIMESTAMP('2020-01-07 15:44:11','YYYY-MM-DD HH24:MI:SS'),100) | ||
; | ||
|
||
-- 2020-01-07T13:44:11.279Z | ||
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator | ||
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language, t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y'AND (l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N') AND t.AD_Process_Para_ID=541663 AND NOT EXISTS (SELECT 1 FROM AD_Process_Para_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Process_Para_ID=t.AD_Process_Para_ID) | ||
; | ||
|
||
-- 2020-01-07T13:49:05.309Z | ||
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator | ||
INSERT INTO AD_Val_Rule (AD_Client_ID,AD_Org_ID,AD_Val_Rule_ID,Created,CreatedBy,EntityType,IsActive,Name,Type,Updated,UpdatedBy) VALUES (0,0,540478,TO_TIMESTAMP('2020-01-07 15:49:05','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','C_Customs_Invoice_For_Partner_And_Location','S',TO_TIMESTAMP('2020-01-07 15:49:05','YYYY-MM-DD HH24:MI:SS'),100) | ||
; | ||
|
||
-- 2020-01-07T13:50:09.954Z | ||
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator | ||
UPDATE AD_Val_Rule SET Code='C_Customs_Invoice.C_BPartner_ID=@C_BPartner_ID@ AND C_Customs_Invoice.C_BPartner_Location_ID=@C_BPartner_Location_ID@',Updated=TO_TIMESTAMP('2020-01-07 15:50:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Val_Rule_ID=540478 | ||
; | ||
|
||
-- 2020-01-07T13:50:41.590Z | ||
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator | ||
UPDATE AD_Process_Para SET AD_Element_ID=576740, ColumnName='C_Customs_Invoice_ID', Name='Zollrechnung',Updated=TO_TIMESTAMP('2020-01-07 15:50:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=541663 | ||
; | ||
|
||
-- 2020-01-07T13:51:20.830Z | ||
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator | ||
UPDATE AD_Process_Para SET AD_Val_Rule_ID=540478,Updated=TO_TIMESTAMP('2020-01-07 15:51:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=541663 | ||
; | ||
|
||
-- 2020-01-07T17:37:54.661Z | ||
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator | ||
INSERT INTO AD_Table_Process (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Table_ID,AD_Table_Process_ID,AD_Window_ID,Created,CreatedBy,EntityType,IsActive,Updated,UpdatedBy,WEBUI_DocumentAction,WEBUI_IncludedTabTopAction,WEBUI_ViewAction,WEBUI_ViewQuickAction,WEBUI_ViewQuickAction_Default) VALUES (0,0,541240,319,540774,169,TO_TIMESTAMP('2020-01-07 19:37:54','YYYY-MM-DD HH24:MI:SS'),100,'D','Y',TO_TIMESTAMP('2020-01-07 19:37:54','YYYY-MM-DD HH24:MI:SS'),100,'Y','N','Y','N','N') | ||
; | ||
|
||
|
||
|
||
|
||
|
||
|
||
-- 2020-01-07T19:22:45.491Z | ||
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator | ||
UPDATE AD_Val_Rule SET Code='C_Customs_Invoice.C_BPartner_ID=@C_BPartner_ID@ AND C_Customs_Invoice.C_BPartner_Location_ID=@C_BPartner_Location_ID@ AND C_Customs_Invoice.DocStatus = ''DR''',Updated=TO_TIMESTAMP('2020-01-07 21:22:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Val_Rule_ID=540478 | ||
; | ||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.