How Packed Items are constructed?

I 've been working on some changes in heavy branch Perform Group , which include a new type of record in my Bill of Material Sales .

I am doing more integrations with our CAD files in order to cover the area of technical conference of the product , and what occurs to me is the following :

- Within the CAD file there are two types of materials

- Products

- Geometric Solids

These geometric solids may indicate:
- A product off the base of CAD , but at the base ERPNext
- A product to be made internally
- An increase in the amount of sale, to mask the real value of the sale.

The first two issues are resolved , but the third has not .

There is a special situation that contrasts with the third question


The accretion in the value of the products can not be an afterthought that directly influence the value of the product , but a service charge for this, the sales user should indicate the decrease of the value that is created for a service fee .


Below is represented the set of the new information .



That said, I 'm caught in the attempt to include these items in a new table in my sales order , the same way that the packaged items , could someone point me how they are inserted ?


--

Maxwell Morais
Tecnologia da Informação
+55 11 3931-1412 Ramal 31

www.realizemodulados.com.br



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un...@googlegroups.com.

    For more options, visit https://groups.google.com/groups/opt_out.
Max,

Check this:

https://github.com/webnotes/erpnext/blob/master/controllers/selling_controller.py#L295

All this code needs to be refactored to function-wise modules though.


On Thursday, November 21, 2013 10:27:24 PM UTC+5:30, Maxwell wrote:
I 've been working on some changes in heavy branch Perform Group , which include a new type of record in my Bill of Material Sales .

I am doing more integrations with our CAD files in order to cover the area of technical conference of the product , and what occurs to me is the following :

- Within the CAD file there are two types of materials

  - Products

  - Geometric Solids

These geometric solids may indicate:
  - A product off the base of CAD , but at the base ERPNext
  - A product to be made internally
  - An increase in the amount of sale, to mask the real value of the sale.

The first two issues are resolved , but the third has not .

There is a special situation that contrasts with the third question


The accretion in the value of the products can not be an afterthought that directly influence the value of the product , but a service charge for this, the sales user should indicate the decrease of the value that is created for a service fee .

Below is represented the set of the new information .



That said, I 'm caught in the attempt to include these items in a new table in my sales order , the same way that the packaged items , could someone point me how they are inserted ?

--

Maxwell Morais
Tecnologia da Informação
+55 11 3931-1412 Ramal 31

 www.realizemodulados.com.br



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un...@googlegroups.com.

    For more options, visit https://groups.google.com/groups/opt_out.
Rushabh, I'm sorry but it makes no sense to me!
In the code there to check if the item has a BOM , here is OK for me, but when it is filtered in DocList only items whose parent is packing_details, I got lost!

Because the items that once belonged to the BOM, ended up in DocList of Sales Order? It seemed magical, and I could not keep up, lol.


2013/11/23 rushabh <rm...@gmail.com>
Max,

Check this:

https://github.com/webnotes/erpnext/blob/master/controllers/selling_controller.py#L295


All this code needs to be refactored to function-wise modules though.




On Thursday, November 21, 2013 10:27:24 PM UTC+5:30, Maxwell wrote:

I 've been working on some changes in heavy branch Perform Group , which include a new type of record in my Bill of Material Sales .

I am doing more integrations with our CAD files in order to cover the area of technical conference of the product , and what occurs to me is the following :

- Within the CAD file there are two types of materials

- Products

- Geometric Solids

These geometric solids may indicate:
- A product off the base of CAD , but at the base ERPNext
- A product to be made internally
- An increase in the amount of sale, to mask the real value of the sale.

The first two issues are resolved , but the third has not .

There is a special situation that contrasts with the third question


The accretion in the value of the products can not be an afterthought that directly influence the value of the product , but a service charge for this, the sales user should indicate the decrease of the value that is created for a service fee .


Below is represented the set of the new information .



That said, I 'm caught in the attempt to include these items in a new table in my sales order , the same way that the packaged items , could someone point me how they are inserted ?


--

Maxwell Morais
Tecnologia da Informação



Note:



If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.



    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.




--

Maxwell Morais
Tecnologia da Informação
+55 11 3931-1412 Ramal 31

www.realizemodulados.com.br



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un...@googlegroups.com.

    For more options, visit https://groups.google.com/groups/opt_out.
Max,

This is confusing because the function get_item_list is called from the transaction and the code is not in the same file. Trace where this is called from.

On a different note, we have identified as this being confusing and files should be organized based on features rather than its class hierarchy or transaction. We will fix this as time permits!

- Rushabh

On Saturday, November 23, 2013 6:47:44 PM UTC+5:30, Maxwell wrote:
Rushabh, I'm sorry but it makes no sense to me!
In the code there to check if the item has a BOM , here is OK for me, but when it is filtered in DocList only items whose parent is packing_details, I got lost!

Because the items that once belonged to the BOM, ended up in DocList of Sales Order? It seemed magical, and I could not keep up, lol.


2013/11/23 rushabh <rm...@gmail.com>
Max,

Check this:

https://github.com/webnotes/erpnext/blob/master/controllers/selling_controller.py#L295


All this code needs to be refactored to function-wise modules though.




On Thursday, November 21, 2013 10:27:24 PM UTC+5:30, Maxwell wrote:
I 've been working on some changes in heavy branch Perform Group , which include a new type of record in my Bill of Material Sales .

I am doing more integrations with our CAD files in order to cover the area of technical conference of the product , and what occurs to me is the following :

- Within the CAD file there are two types of materials

  - Products

  - Geometric Solids

These geometric solids may indicate:
  - A product off the base of CAD , but at the base ERPNext
  - A product to be made internally
  - An increase in the amount of sale, to mask the real value of the sale.

The first two issues are resolved , but the third has not .

There is a special situation that contrasts with the third question


The accretion in the value of the products can not be an afterthought that directly influence the value of the product , but a service charge for this, the sales user should indicate the decrease of the value that is created for a service fee .

Below is represented the set of the new information .



That said, I 'm caught in the attempt to include these items in a new table in my sales order , the same way that the packaged items , could someone point me how they are inserted ?

--

Maxwell Morais
Tecnologia da Informação

– 



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un...@googlegroups.com.

    For more options, visit https://groups.google.com/groups/opt_out.