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
0
Comments
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
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