Adding Item fields to a Sales Order

paddypowerpaddypower Member Posts: 98
Hi Everyone,

I am trying to add the Item Posting Group to the Sales Line of an order. I have made the following changes to the report:

Added new Global Record
Name
GItem Record Item

Also I have added the following code to Sales Line - OnAfterGetRecord
IF NOT GItem.GET("No.") THEN
CLEAR(GItem)

When I have added the field to the Sales Line no values are shown?

This normally works?

Thanks

PADDYPOWER

Comments

  • SVUKSVUK Member Posts: 2
    Hi Paddypower,

    Do you mean Inventory Posting Group, if its Inventory Posting Group then there is already field existing in Sales Line called Posting Group. You just need to add this field on the form.

    SV
  • ADARTIHSADARTIHS Member Posts: 78
    THANK YOU :oops:

    Yes sorry I missed the posting group field.

    I would also like to add bespoke field from the Item table called colour.

    What have I done wrong with the coding for the GET command.

    Thanks again
Sign In or Register to comment.