src-db/database/model/triggers/AD_PROCESS_PARA_TRG.xml
changeset 1605 8a0fe0193bef
parent 785 8dba91261590
child 1929 ad0353d93b0f
equal deleted inserted replaced
1604:a1c518e6ed93 1605:8a0fe0193bef
    33   --  for Translation
    33   --  for Translation
    34   IF (INSERTING)
    34   IF (INSERTING)
    35   THEN
    35   THEN
    36     --  Create Translation Row
    36     --  Create Translation Row
    37     INSERT INTO AD_Process_Para_Trl
    37     INSERT INTO AD_Process_Para_Trl
    38                 (AD_Process_Para_ID, AD_Language, AD_Client_ID, AD_Org_ID,
    38                 (AD_Process_Para_Trl_ID, AD_Process_Para_ID, AD_Language, AD_Client_ID, AD_Org_ID,
    39                  IsActive, Created, CreatedBy, Updated, UpdatedBy, NAME,
    39                  IsActive, Created, CreatedBy, Updated, UpdatedBy, NAME,
    40                  Description, HELP, IsTranslated)
    40                  Description, HELP, IsTranslated)
    41       SELECT :NEW.AD_Process_Para_ID, AD_Language, :NEW.AD_Client_ID,
    41       SELECT get_uuid(), :NEW.AD_Process_Para_ID, AD_Language, :NEW.AD_Client_ID,
    42              :NEW.AD_Org_ID, :NEW.IsActive, :NEW.Created, :NEW.CreatedBy,
    42              :NEW.AD_Org_ID, :NEW.IsActive, :NEW.Created, :NEW.CreatedBy,
    43              :NEW.Updated, :NEW.UpdatedBy, :NEW.NAME, :NEW.Description,
    43              :NEW.Updated, :NEW.UpdatedBy, :NEW.NAME, :NEW.Description,
    44              :NEW.HELP, 'N'
    44              :NEW.HELP, 'N'
    45         FROM AD_Language
    45         FROM AD_Language
    46        WHERE IsActive = 'Y' AND IsSystemLanguage = 'Y';
    46        WHERE IsActive = 'Y' AND IsSystemLanguage = 'Y';