The attached layout example "Inedit_RequestOrderForm.x" will add the requested order and request item information in the layout. The variables are inside the file "LogoNameColorsCT_Requests.tjb".
Result:
<Variable id="999" name = "RequestCode" type="CustomField" value = "002063"/>
<Variable id="1000" name = "RequestName" type="CustomField" value = "R. Layout"/>
<Variable id="1001" name = "RequestComments" type="CustomField" value = "Make this order tommorow."/>
<Variable id="1002" name = "RequestCustomer" type="CustomField" value = "TestCustomer5"/>
<Variable id="1003" name = "RequestCreationDate" type="CustomField" value = "2023-05-29 14:23:00 Etc/GMT"/>
<Variable id="1004" name = "RequestCreationBy" type="CustomField" value = "testUser2"/>
<Variable id="1005" name = "RequestPriority" type="CustomField" value = "3"/>
<Variable id="1006" name = "RequestItem_Fabric" type="CustomField" value = "345"/>
<Variable id="1007" name = "RequestItem_FinishingMethod" type="CustomField" value = "Transfer"/><Variable id="1008" name = "RequestItem_Comments" type="CustomField" value = "item has comment"/><Variable id="1009" name = "RequestItem_Quantity" value = "10.0"/>
<Variable id="1010" name = "RequestItem_Size" value = "30cm"/>