Overview
Summary
Contact
Donate
Imprint
Prompt for the
OrderItemView
Please create a React-JS view called "OrderItemView" for the fields of the OrderItem entity. The OrderItemView must contain the following fields: - name: CustomerOrder type: Customer - name: DiscountAmount type: DOUBLE - name: LineTotal type: DOUBLE - name: Offer type: Offer - name: ProductTitle type: Product - name: Quantity type: LONG - name: TaxAmount type: DOUBLE - name: UnitPrice type: DOUBLE The data source for the [Offer] select control should be loaded from the relative URL: "/OfferService/offer" (HTTP-GET) The data source for the [CustomerOrder] select control should be loaded from the relative URL: "/CustomerService/customer" (HTTP-GET) The data source for the [ProductTitle] select control should be loaded from the relative URL: "/ProductService/product" (HTTP-GET) An existing OrderItem entity should be loaded from the relative URL: "/ReturnRequestService/orderitem/{id}" (HTTP-GET) If a new OrderItem entity has been created, the new entity should be posted to the relative URL: "/ReturnRequestService/orderitem" (HTTP-POST) If an existing OrderItem entity has been updated, the modified entity should be sent to the relative URL: "/ReturnRequestService/orderitem/{id}" (HTTP-PUT) If an existing OrderItem entity has to be deleted, the following relative URL should be called: "/ReturnRequestService/orderitem/{id}" (HTTP-DELETE) Add a HTML table to the view with the following ReturnItem columns: - column: Condition - column: Quantity - column: Resolution - column: ReturnRequest - column: OrderItem The table should have the title "ReturnItems" und the data must be loaded from the server with the following relative URL: "/ReturnRequestService/returnitem/orderitem/{id}" Add a HTML table to the view with the following ShipmentItem columns: - column: Quantity - column: OrderItem - column: Shipment The table should have the title "ShipmentItems" und the data must be loaded from the server with the following relative URL: "/FulfillmentCenterService/shipmentitem/orderitem/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint