Sunteți pe pagina 1din 2

ADD FACTBOX IN ORDER PAGE FOR ITEM IMAGE

Suppose we want Item Image to be displayed in Sales Order When Selected in Sales Order Sub form.

Lets Create a FactBox for Displaying Item Image that we will attach to Sales Order Page.

For the Demo I am Using Page No. 50000 with below Page Properties.

Page Property Value


Page No. 50000
Page Name Item Image FactBox
Page Type CardPart
Source Table Sales Line

The Page have one Global Variable of Table Item, as shown below

The Page Designer as shown below

There is a line of Code that we write, to Get Item Picture

1
ADD FACTBOX IN ORDER PAGE FOR ITEM IMAGE

Now lets add the FactBox in the Sales Order Page.

1. Design Page 42.


2. Navigate to Last Page Group that is FactBox Area.
3. Insert a New Line and of Type Part with Below Properties in Same Order.

Property Name Property Value


PartType Page
PagePartID Item Image FactBox
ProviderID 58
SubPageLink Document Type=FIELD(Document Type),Document No.=FIELD(Document
No.),Line No.=FIELD(Line No.)

** ProviderID is not static to 58. Actually the ProviderID is link to Factbox to the Sales Line.
** To get the Actual ProviderID you need to see the ID of SalesLines Part, as shown below.

Run the Sales Order page and add an Item in Sales Line which have Item Picture.

Keep Reading Blog.

S-ar putea să vă placă și