Question

CF purchase order lines

  • 25 October 2023
  • 3 replies
  • 64 views

Userlevel 2
Badge +9

Hello.

We created a new CF (persistant type) on :

LU = PurchaseOrderLine
View = PURCHASE_ORDER_LINE_ALL
URL = ifsapf:tbwPurchaseOrderLine_Ext

 

And now, we would like to make this same CF visible on :

LU = PurchaseOrderLinePart
View = PURCHASE_ORDER_LINE_PART
URL = ifsapf:frmPurchaseOrder_Ext

 

and on 


LU = PurchaseOrderLineNopart
View = PURCHASE_ORDER_LINE_NOPART
URL = ifsapf:frmPurchaseOrder_Ext

 

Is there a way to share this same CF among these screens? or do we have to create new CF and make events to “share” the datum?


3 replies

Userlevel 3
Badge +8

If you want the values to be read only, the easiest way is to create read only custom fields on the additional pages, and set the source to be a sql query that refers to your custom field.

Userlevel 2
Badge +9

Hello @Hypervox 

Unfortunately, that cannot be a solution, as the user would need to fill the CF either via the customer order or the customer order line screen.

So, from what I understand, there is no way to share the CF in these screens, so I would have to create events for that

Userlevel 2
Badge +9

@romsar, that is correct. A custom field is always linked to one single entity.

If editing IS NOT required in the other screens , read only fields can be created on the Entities and added to the pages.

If editing IS  required in the other screens, separate persistent fields have to be created and events/workflows are required to update the field.

Reply