Skip to content
This repository was archived by the owner on Jan 19, 2025. It is now read-only.

Inventory Details Custom Fields not saving #1343

@dfanaei

Description

@dfanaei

I did what you suggested in this post/video to create custom fields for Inventory Details.
https://blog.corebos.org/blog/inventorydetails

The fields are now available in each Inventory line item, however, it gets messed up and the values of the custom fields (number/Currency) changes to a different amount (Mostly to zero or 1.00) when I save.
I am doing this in the quotes module.

image

if you take a look at the custom field (Labour) in the "Painting" and "Drywalling" line item has changed to 1.00.
There are also other line items that were the same product/service and they all changed to 0.

For you reference, This is what I had in the business mapping.

<map> <originmodule>Quotes</originmodule> <targetmodule>InventoryDetails</targetmodule> <linkfields> <originfield>lineitem_id</originfield> <targetfield>lineitem_id</targetfield> </linkfields> <sortfield>sequence_no</sortfield> <detailview> <fields> <field> <fieldtype>corebos</fieldtype> <fieldname>cf_1292</fieldname> <editable>1</editable> <mandatory>1</mandatory> <hidden>0</hidden> </field> <field> <fieldtype>corebos</fieldtype> <fieldname>cf_1293</fieldname> <editable>1</editable> <mandatory>1</mandatory> <hidden>0</hidden> </field> </fields> </detailview> </map>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions