Giter Site home page Giter Site logo

config_to_order's Introduction

Config To Order

Config To Order for more details please kindly refer to https://discuss.erpnext.com/t/new-feature-config-to-order-erpnext-version-of-saps-variant-configuration-need-community-feedback/55621

Here the guidance how to use it

  1. install the app by bench

bench get-app config_to_order https://github.com/szfisher/config_to_order.git

bench --site yoursite install-app

  1. create new configuration template: custom doctype go to doctype list, then new, or directly new doctype, make sure the custom check box activated

  2. create a configurable item and assign the configuration template new item, goto variants section, check is configurable and select the above create new doctype as configuration doctype(template), activate checkbox has serial

  3. create all other items to be used in the BOM(super BOM)

  4. create BOM(super BOM) which includes all possible components with needed selection condition. pay attention to following rules 5.1 configurable item as BOM header item 5.2 for bom component, there are 4 new fields available under the configuration section: item from configuration, qty from configuration, desc from configuration and selection condition, the item/qty/desc from configuration maps to the configuration template(doctype) field, selection condition is code field for python expression 5.2.1 leave both item from configuration and selection condition fields empty makes the component as mandatory component among the final BOM componnents list all the time 5.2.2 item from configuration allows you selecting a configuration doctype's field, which normally link field with options as Item, (custom script can be used to restrict selecting relevant items by condition like item group), this field is meant to allow selecting item during order processing 5.2.3 instead of directly allow user selecting item, it is possible to map the user selection (option of the select field) to bom component by python expression in the selection condition field 5.2.4 qty from configuration is used to allow user specify the needed quantity of the component during configuration 5.2.5 desc from configuration allows user to input the customer's unique specification of the component,

  5. Configuration - Sales order 6.1 select the configurable item, new onfiguration section with configuration and configuration result field are avaiable

6.2 click the config button, there will be a popup window allow you to choose create new configuration or reference existing configuration(by sales order number or the configuration name) to switch to the configuration template form, click save button to return back the item dialog form,
6.3 click the configuration result button, a popup window which allows you to choose the BOM(super bom) and whether use multi level bom, click make configuraion result goes to the configuration result screen, in which you can review and change the price as needed, click save button goes back to the item dialog form again, the total price of the configuration result will be copied to the rate field.
6.4 after sales order released, you can create work order like before, the components of the work order are only relevant to the configuration.

License

MIT

config_to_order's People

Contributors

szfisher avatar adityahase avatar kennethsequeira avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.