src-db/database/model/triggers/C_PAYMENTTERM_TRG.xml
changeset 1605 8a0fe0193bef
parent 785 8dba91261590
child 2078 cf88ca44cdd2
equal deleted inserted replaced
1604:a1c518e6ed93 1605:8a0fe0193bef
    30     THEN
    30     THEN
    31     --  Create Translation Row
    31     --  Create Translation Row
    32   INSERT
    32   INSERT
    33   INTO C_PaymentTerm_Trl
    33   INTO C_PaymentTerm_Trl
    34     (
    34     (
    35       C_PaymentTerm_ID, AD_Language, AD_Client_ID,
    35       C_PaymentTerm_Trl_ID, C_PaymentTerm_ID, AD_Language, AD_Client_ID,
    36       AD_Org_ID, IsActive, Created,
    36       AD_Org_ID, IsActive, Created,
    37       CreatedBy, Updated, UpdatedBy,
    37       CreatedBy, Updated, UpdatedBy,
    38       Name, Description, DocumentNote,
    38       Name, Description, DocumentNote,
    39       IsTranslated
    39       IsTranslated
    40     )
    40     )
    41   SELECT :new.C_PaymentTerm_ID,
    41   SELECT get_uuid(), :new.C_PaymentTerm_ID,
    42     AD_Language, :new.AD_Client_ID, :new.AD_Org_ID,
    42     AD_Language, :new.AD_Client_ID, :new.AD_Org_ID,
    43     :new.IsActive, :new.Created, :new.CreatedBy,
    43     :new.IsActive, :new.Created, :new.CreatedBy,
    44     :new.Updated, :new.UpdatedBy, :new.Name,
    44     :new.Updated, :new.UpdatedBy, :new.Name,
    45     :new.Description, :new.DocumentNote, 'N'
    45     :new.Description, :new.DocumentNote, 'N'
    46   FROM AD_Language
    46   FROM AD_Language