các thủ thuật trong quá trình làm form

Upload: viet-me

Post on 05-Apr-2018

228 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/31/2019 Cc th thut trong qu trnh lm form

    1/1

    Cc th thut trong qu trnh lm form

    1.Debugging Triggers trn h thng:FND_MESSAGE.SET_STRING(message);

    FND_MESSAGE.SHOW;

    2.Hin th cc Field dliu khng phi l dliu ca BlockPOST-QUERY:

    selecttenncc into :orders.tenncc

    from nha_cung_cap

    where nha_cung_cap.mancc=:orders.mancc;

    SET_RECORD_PROPERTY(:system.trigger_record,:system.trigger_block,STATUS,QUERY_STATUS);

    -- bthay i trng thi khi sdng post-query (nu khng c set_record_property th khi nhn next sang record

    khc h thng syu cu lu thay i)

    3.Lc dliu ca mt BlockPRE-QUERY:

    SET_BLOCK_PROPERTY(block_name,DEFAULT_WHERE,value );Vidu: SET_BLOCK_PROPERTY(CTDDH,DEFAULT_WHERE,:CTDDH.SODDH=DH00001);