Assigning a Value to a Child Table Field in Frappe or ERPNext

Поділитися
Вставка
  • Опубліковано 15 січ 2025

КОМЕНТАРІ • 10

  • @gaurangkanvinde5133
    @gaurangkanvinde5133 3 місяці тому +1

    Thank you very much! This is exactly what I was looking for. Please also add a reference to your post titled "Assigning a Value to a Child Table Field in Frappe or ERPNext" on your website.

  • @FreezyDaniel-e7e
    @FreezyDaniel-e7e 10 місяців тому

    Thank you very much, saved me alot of time

  • @onielarion2900
    @onielarion2900 Рік тому

    Hi Karani,
    I have a child table with fields start_date and end_date.
    How do i limit a datepicker on a child table for end_date to current date, so as to disable future dates.
    This client script works fine in master... but not in child table
    frm.fields_dict.end_date.datepicker.update({
    maxDate: frm.doc.start_date ? new Date(frm.doc.start_date) : null
    });

  • @samuelgervais4413
    @samuelgervais4413 Рік тому

    Thank you great video! Btw I'm curious, what tool are you using to comment and uncomment block of text? Is it by default in ubuntu? I would like to do that outside of Visual Studio in Windows.

  • @onielarion2900
    @onielarion2900 Рік тому

    how do you limit a child date field to a max of today?

  • @LearnphpPhpforbeginners
    @LearnphpPhpforbeginners 2 роки тому

    Hi Thanks for your help But that is not working in my client script
    I had followed all the steps as you explained in video

    • @kirikirikiriklaus8935
      @kirikirikiriklaus8935 2 роки тому

      i think the problem is, that the form_render is a function that is triggered when a new From is created. When you do not create a From when you push add Row nothing will happen. Now i am searching for the answer on how to get a from when i push add row.

  • @kirikirikiriklaus8935
    @kirikirikiriklaus8935 2 роки тому

    How do i get a From after pressing add Row?

    • @kirikirikiriklaus8935
      @kirikirikiriklaus8935 2 роки тому

      I got the Answer! When you have editable grip enable in your table settings you will NOT get a from view.

  • @projecthome6383
    @projecthome6383 Рік тому

    Hi.. i have a question..
    what is form_render here..??
    is this table name..?? or field name..??