123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270
{
"Caption": "$(L,z_PurchaseRequisitionCreate)",
"ActionBar": {
"Items": [
{
"Position": "left",
"SystemItem": "Cancel",
"OnPress": "/SAPAssetManager/Rules/Common/CheckForChangesBeforeClose.js"
},
{
"Position": "right",
"SystemItem": "$(PLT,'Done','')",
"Text": "$(L,apply)",
"OnPress": "/ZSAPComponent/Actions/Inventory/Z_PurchaseRequisition/Z_PurchaseRequisitionCreate.action"
}
]
},
"Controls": [
{
"Sections": [
{
"Controls": [
{
"_Name": "PurchasingReq",
"Caption": "$(L,z_purchaseRequisitionID)",
"_Type": "Control.Type.FormCell.SimpleProperty",
"IsEditable": false,
"Value": "%000000001"
},
{
"_Name": "RequisnItem",
"Caption": "$(L,z_purchaseRequisitionItem)",
"_Type": "Control.Type.FormCell.SimpleProperty",
"IsEditable": true,
"Value": "{RequisnItem}",
"KeyboardType": "Number"
},
{
"IsEditable": true,
"Value": "{ShortText}",
"KeyboardType": "Number",
"_Name": "ShortText",
"Caption": "$(L,z_ShortText)",
"_Type": "Control.Type.FormCell.SimpleProperty"
}
]
},
{
"Controls": [
{
"_Name": "PlantLstPkr",
"_Type": "Control.Type.FormCell.ListPicker",
"Caption": "$(L,plant)",
"AllowMultipleSelection": false,
"AllowDefaultValueIfOneItem": false,
"IsPickerDismissedOnSelection": true,
"IsSearchCancelledAfterSelection": true,
"Search": {
"Enabled": true,
"Delay": 500,
"MinimumCharacterThreshold": 3,
"Placeholder": "$(L,search)",
"BarcodeScanner": true
},
"IsEditable": true,
"PickerItems": {
"DisplayValue": "{{#Property:Plant}} - {{#Property:PlantDescription}}",
"ReturnValue": "{Plant}",
"Target": {
"EntitySet": "Plants",
"Service": "/SAPAssetManager/Services/AssetManager.service",
"QueryOptions": "$orderby=Plant asc"
}
}
},
{
"_Name": "StorageLocationPicker",
"_Type": "Control.Type.FormCell.ListPicker",
"Caption": "$(L,storage_location)",
"AllowEmptySelection": true,
"AllowMultipleSelection": false,
"IsPickerDismissedOnSelection": true,
"AllowDefaultValueIfOneItem": true,
"Value": "{StorageLocation}",
"IsEditable": true,
"IsSelectedSectionEnabled": false,
"PickerItems": {
"DisplayValue": "{{#Property:StorageLocation}} - {{#Property:StorageLocationDesc}}",
"ReturnValue": "{StorageLocation}",
"Target": {
"EntitySet": "StorageLocations",
"QueryOptions": "$orderby=Plant asc",
"Service": "/SAPAssetManager/Services/AssetManager.service"
}
},
"PickerPrompt": "$(L,select_single_item)"
},
{
"_Name": "MatrialListPicker",
"_Type": "Control.Type.FormCell.ListPicker",
"Caption": "$(L,material_number)",
"AllowMultipleSelection": false,
"AllowDefaultValueIfOneItem": true,
"IsPickerDismissedOnSelection": true,
"IsSearchCancelledAfterSelection": true,
"Search": {
"Enabled": true,
"Delay": 500,
"MinimumCharacterThreshold": 1,
"Placeholder": "$(L,search)",
"BarcodeScanner": true
},
"Value": "{Material}",
"IsEditable": true,
"PickerItems": {
"ObjectCell": {
"PreserveIconStackSpacing": false,
"Title": "{{#Property:MaterialNum}} - {{#Property:Description}}"
//"Subhead": "{Plant}"
//"Footnote": "{StorageLocation} - {StorageLocationDesc}",
},
"ReturnValue": "{MaterialNum}",
"Target":
{
"EntitySet" : "Materials", //"EntitySet": "MaterialSLocs",
"Service" : "/SAPAssetManager/Services/AssetManager.service",
"QueryOptions" : "$orderby=MaterialNum"
}
}
},
{
"_Name": "PurchasngOrgPkr",
"_Type": "Control.Type.FormCell.ListPicker",
"Caption": "$(L,z_PurchasngOrg)",
"AllowMultipleSelection": false,
"AllowDefaultValueIfOneItem": false,
"IsPickerDismissedOnSelection": true,
"IsSearchCancelledAfterSelection": true,
"Search": {
"Enabled": true,
"Delay": 500,
"MinimumCharacterThreshold": 3,
"Placeholder": "$(L,search)",
"BarcodeScanner": true
},
"IsEditable": true,
"PickerItems": {
"DisplayValue": "{{#Property:PurchasingOrg}} - {{#Property:PlantDescription}}",
"ReturnValue": "{PurchasingOrg}",
"Target": {
"EntitySet": "Z_##_PurchaseOrganizations",
"Service": "/ZSAPComponent/Services/AssetManager.service",
"QueryOptions": "$orderby=PurchasingOrg asc"
}
}
},
{
"_Name": "PurchGroup",
"Caption": "$(L,z_PurchGroup)",
"Value": "001",
"IsEditable": true,
"IsVisible": true,
"_Type": "Control.Type.FormCell.SimpleProperty"
},
{
"_Name": "Quantity",
"Caption": "$(L,quantity)",
"IsEditable": true,
"KeyboardType": "Number",
"Value": "{Quantity}",
"_Type": "Control.Type.FormCell.SimpleProperty"
},
{
"_Name": "UOMListPicker",
"_Type": "Control.Type.FormCell.ListPicker",
"Caption": "$(L,uom)",
"AllowMultipleSelection": false,
"AllowDefaultValueIfOneItem": true,
"IsPickerDismissedOnSelection": true,
"IsSearchCancelledAfterSelection": true,
"Search": {
"Enabled": true,
"Delay": 500,
"MinimumCharacterThreshold": 1,
"Placeholder": "$(L,search)",
"BarcodeScanner": true
},
"Value": "{UOM}",
"IsEditable": false,
"PickerItems": {
"ReturnValue": "{BaseUOM}",
"DisplayValue": "{BaseUOM}",
"Target":
{
"EntitySet" : "MaterialUOMs",
"Service" : "/SAPAssetManager/Services/AssetManager.service",
"QueryOptions": "$orderby=UOM"
}
}
}
]
},
{
"Controls": [
{
"_Name": "DeliveryDatePicker",
"Caption": "$(L,z_DeliveryDate)",
"_Type": "Control.Type.FormCell.DatePicker",
"DateTimeEntryMode" : "date",
"Mode" : "Date",
"Value": "{DeliveryDate}",
"IsEditable": false
},
{
"_Name": "DeliveryDateCategory",
"Value": "1",
"IsEditable": false,
"IsVisible": false,
"_Type": "Control.Type.FormCell.SimpleProperty"
},
{
"_Name": "DocCategory",
"Caption": "$(L,z_DocCategory)",
"Value": "B",
"IsEditable": false,
"IsVisible": true,
"_Type": "Control.Type.FormCell.SimpleProperty"
},
{
"_Name": "DocType",
"Caption": "$(L,z_DocType)",
"Value": "NB",
"IsEditable": false,
"IsVisible": true,
"_Type": "Control.Type.FormCell.SimpleProperty"
},
{
"_Name": "PriceUnit",
"Value": "1",
"IsEditable": false,
"IsVisible": true,
"_Type": "Control.Type.FormCell.SimpleProperty"
},
{
"_Name": "ValuationPrice",
"Caption": "$(L,z_ValuationPrice)",
"Value": "{ValuationPrice}",
"IsEditable": true,
"IsVisible": true,
"_Type": "Control.Type.FormCell.SimpleProperty",
"AlternateInput": "Barcode"
}
]
}
],
"_Name": "FormCellContainer",
"_Type": "Control.Type.FormCellContainer"
}
],
"_Type": "Page",
"Name": "Z_PurchaseRequisitionCreate",
"PrefersLargeCaption": true,
"OnReturning": "/SAPAssetManager/Rules/Inventory/PhysicalInventory/Count/PhysicalInventoryCountUpdateOnReturning.js"
}