src-db/database/model/triggers/C_CURRENCY_TRG.xml
changeset 1605 8a0fe0193bef
parent 799 fef2c5e2feb7
child 2078 cf88ca44cdd2
equal deleted inserted replaced
1604:a1c518e6ed93 1605:8a0fe0193bef
    23     THEN
    23     THEN
    24     --  Create Translation Row
    24     --  Create Translation Row
    25   INSERT
    25   INSERT
    26   INTO C_CURRENCY_Trl
    26   INTO C_CURRENCY_Trl
    27     (
    27     (
    28       C_CURRENCY_ID, AD_Language, AD_Client_ID,
    28       C_CURRENCY_Trl_ID, C_CURRENCY_ID, AD_Language, AD_Client_ID,
    29       AD_Org_ID, IsActive, Created,
    29       AD_Org_ID, IsActive, Created,
    30       CreatedBy, Updated, UpdatedBy,
    30       CreatedBy, Updated, UpdatedBy,
    31       IsTranslated, CurSymbol, Description
    31       IsTranslated, CurSymbol, Description
    32     )
    32     )
    33   SELECT :new.C_CURRENCY_ID,
    33   SELECT get_uuid(), :new.C_CURRENCY_ID,
    34     AD_Language, :new.AD_Client_ID, :new.AD_Org_ID,
    34     AD_Language, :new.AD_Client_ID, :new.AD_Org_ID,
    35     :new.IsActive, :new.Created, :new.CreatedBy,
    35     :new.IsActive, :new.Created, :new.CreatedBy,
    36     :new.Updated, :new.UpdatedBy,
    36     :new.Updated, :new.UpdatedBy,
    37     'N', :new.CurSymbol, :new.Description
    37     'N', :new.CurSymbol, :new.Description
    38   FROM AD_Language
    38   FROM AD_Language