Skip to content

Issue with userdefined field in Orders.Line object #3

@ghost

Description

Hi, your piece of SW works fine and could create Orders in SAP b1 thanks a lot, however whenever tried insert a Order Line userfield item as follow got an error, even whe this syntax works fine at the Order level Order Level (Header) -> order.UserFields.Fields.Item("U_CMP_MATR").Value = "TEST" -> Works fine
but not in the Order Lines Detail -> order.Lines.UserFields.Fields.Item("U_CMP_MATR").Value = "TEST" -> error...and crash the application.

Please can you let us know what are we doing wrong ? Thanks in advance.

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