53. How to copy child table from one document to another with custom script - Frappe Erpnext

Поделиться
HTML-код
  • Опубликовано: 19 сен 2024
  • Learn how to copy items from one doctype to another by selecting or search the document then click. Magic .

Комментарии • 14

  • @tuguldur456
    @tuguldur456 3 года назад

    Hello. Thanks for uploading series of videos. I really appreciate of what you trying. Would you make videos about REST API.

    • @emmanuelanthony5600
      @emmanuelanthony5600 3 года назад

      Yes. If you observed, in this tutorial, we used rest api to pull child table using frappe.call.
      Maybe a full tutorial on it will be helpful.
      I guess I may have to do it

  • @hamidrasyid1560
    @hamidrasyid1560 3 года назад

    Hi, thank you for your nice knowledge. I have bit similar case, but little different from your case. I need to update child table that have different doctype from child table in parent doctype where I add custom button. How do I handle those case, especially for the frm.add_child syntax.. Thank you..

    • @hamidrasyid1560
      @hamidrasyid1560 3 года назад

      Do you have any idea following my case? Actually i forgot to ask the question from my comment earlier 😅I need the insight from you for that my case. Could you help?

    • @ghorzace8347
      @ghorzace8347  3 года назад

      Same knowledge is applicable

    • @ghorzace8347
      @ghorzace8347  3 года назад

      Know the table in question, collect the data locate the table and add the data

    • @hamidrasyid1560
      @hamidrasyid1560 3 года назад

      @@ghorzace8347 Hi, thank you for your kind reply, I just wonder how could I access another document in another Doctype to add_child ? What's the class syntax before add_child? I've been code for two days, but get no luck. Could you help?
      P.S. I'm using custom scrip and server script directly in form app..

  • @CABhagChandChechani
    @CABhagChandChechani 3 года назад

    It's very useful, would you share all files used code at somewhere to refer and learn