PR
yypsybs
2023-09-13 795184402d79c6c4ce7bb7cb0babfcb175c51982
PR
已添加116个文件
1553 ■■■■■ 文件已修改
_Main/BL/Relations/Relation_ERPRequestOfPR_PRHistoryData_PRHistoryData_ERPRequestOfPR.qbl 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Relations/Relation_ERPResponseOfPR_ERPRequestOfPR_ERPRequestOfPR_ERPResponseOfPR.qbl 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Relations/Relation_PRData_MacroPlan_MacroPlan_PRData.qbl 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Relations/Relation_PRHistoryData_GlobalOTDTable_GlobalOTDTable_PRHistoryData.qbl 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_ERPRequestOfPR/Attribute_BusinessType.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_ERPRequestOfPR/Attribute_DataID.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_ERPRequestOfPR/Attribute_DeliveryDate.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_ERPRequestOfPR/Attribute_MRPCalverNo.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_ERPRequestOfPR/Attribute_OrganCode.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_ERPRequestOfPR/Attribute_ProductID.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_ERPRequestOfPR/Attribute_ProductName.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_ERPRequestOfPR/Attribute_ProviderCode.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_ERPRequestOfPR/Attribute_ProviderName.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_ERPRequestOfPR/Attribute_Quantity.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_ERPRequestOfPR/Attribute_StockingPointID.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_ERPRequestOfPR/Attribute_UnitOfMeasure.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_ERPRequestOfPR/Method_DoCall.qbl 58 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_ERPRequestOfPR/StaticMethod_Create.qbl 27 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_ERPRequestOfPR/_ROOT_Type_ERPRequestOfPR.qbl 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_ERPResponseOfPR/Attribute_DataID.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_ERPResponseOfPR/Attribute_ErrorDescription.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_ERPResponseOfPR/Attribute_Status.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_ERPResponseOfPR/_ROOT_Type_ERPResponseOfPR.qbl 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_MappingProduct/Attribute_OrgCode.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_MappingProduct/StaticMethod_GetByProductId.qbl 17 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PRData/Attribute_AuthorizationStatus.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PRData/Attribute_BusinessType.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PRData/Attribute_DataID.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PRData/Attribute_DeliverToRequestorId.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PRData/Attribute_DestinationOrganizationId.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PRData/Attribute_DestinationTypeCode.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PRData/Attribute_HeaderDescription.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PRData/Attribute_InterfaceSourceCode.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PRData/Attribute_LineAttribute1.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PRData/Attribute_LineAttribute6.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PRData/Attribute_LineType.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PRData/Attribute_LineTypeId.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PRData/Attribute_MRPCalverNo.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PRData/Attribute_OrgId.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PRData/Attribute_OrganCode.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PRData/Attribute_PRSuggestionDate.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PRData/Attribute_PlannerCode.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PRData/Attribute_PreparerId.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PRData/Attribute_ProduceRequiredDate.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PRData/Attribute_ProductID.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PRData/Attribute_ProductName.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PRData/Attribute_ProviderCode.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PRData/Attribute_ProviderName.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PRData/Attribute_Quantity.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PRData/Attribute_RequisitionType.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PRData/Attribute_SendBy.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PRData/Attribute_SendStatus.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PRData/Attribute_SendTIme.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PRData/Attribute_StockingPointID.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PRData/Attribute_UnitOfMeasure.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PRData/Attribute_UnitPrice.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PRData/Method_DoCall.qbl 61 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PRData/StaticMethod_CanCall.qbl 19 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PRData/StaticMethod_DoCall.qbl 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PRData/StaticMethod_FromSupplyPlanning#662.qbl 75 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PRData/StaticMethod_FromSupplyPlanning.qbl 27 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PRData/StaticMethod_ProductIdOver14Days.qbl 27 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PRData/StaticMethod_TestData.qbl 28 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PRData/_ROOT_Type_PRData.qbl 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PRHistoryData/Attribute_AuthorizationStatus.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PRHistoryData/Attribute_BusinessType.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PRHistoryData/Attribute_DataID.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PRHistoryData/Attribute_DeliverToRequestorId.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PRHistoryData/Attribute_DestinationOrganizationID.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PRHistoryData/Attribute_DestinationTypeCode.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PRHistoryData/Attribute_HeaderDescription#16.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PRHistoryData/Attribute_LineAttribute1.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PRHistoryData/Attribute_LineAttribute6.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PRHistoryData/Attribute_LineType.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PRHistoryData/Attribute_LineTypeId.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PRHistoryData/Attribute_MRPCalverNo.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PRHistoryData/Attribute_OrgId.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PRHistoryData/Attribute_OrganCode.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PRHistoryData/Attribute_PRDataReleaseDate.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PRHistoryData/Attribute_PlannerCode.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PRHistoryData/Attribute_PreparerID.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PRHistoryData/Attribute_PreparerId#603.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PRHistoryData/Attribute_ProduceRequiredDate#168.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PRHistoryData/Attribute_ProductID.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PRHistoryData/Attribute_ProductName.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PRHistoryData/Attribute_ProviderCode.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PRHistoryData/Attribute_ProviderName.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PRHistoryData/Attribute_Quantity.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PRHistoryData/Attribute_ReceiveError.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PRHistoryData/Attribute_ReceiveStatus.qbl 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PRHistoryData/Attribute_ReceiveTime.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PRHistoryData/Attribute_ReleaseBy.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PRHistoryData/Attribute_RequisitionType.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PRHistoryData/Attribute_SendStatus.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PRHistoryData/Attribute_SendTime.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PRHistoryData/Attribute_StockingPointID.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PRHistoryData/Attribute_UnitOfMeasure.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PRHistoryData/Attribute_UnitPrice.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PRHistoryData/DefaultValue_BusinessType.qbl 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PRHistoryData/Method_Recall.qbl 29 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PRHistoryData/StaticMethod_ReCall.qbl 15 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PRHistoryData/_ROOT_Type_PRHistoryData.qbl 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_ProductInStockingPointInPeriod/Attribute_mrpCalverNo.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_ProductInStockingPointInPeriod/StaticMethod_GetByMRPCalverNo.qbl 17 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_ProductInStockingPointInPeriod/_ROOT_Type_ProductInStockingPointInPeriod.qbl 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_Form633/Component_ListPRData#844.def 105 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_Form633/Component_listActionBarPagePRData#1.def 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_Form633/Component_listContextMenuPRData#1.def 24 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_Form633/Response_ListPRData_844_MenuCall_OnClick.def 30 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_Form633/Response_OnCreated.def 18 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_Form633/_ROOT_Component_FormPRData#633.def 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormPRHistoryData/Component_ListPRHistoryData#844.def 105 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormPRHistoryData/Component_listActionBarPagePRHistoryData#1.def 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormPRHistoryData/Component_listContextMenuPRHistoryData#1.def 24 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormPRHistoryData/Response_ListPRHistoryData_844_MenuCall_OnClick.def 21 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormPRHistoryData/_ROOT_Component_FormPRHistoryData.def 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Relations/Relation_ERPRequestOfPR_PRHistoryData_PRHistoryData_ERPRequestOfPR.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,23 @@
Quintiq file version 2.0
#parent: #root
Relation ERPRequestOfPR_PRHistoryData_PRHistoryData_ERPRequestOfPR
{
  #keys: '1[414384.0.795671693]'
  DefaultRelationStrategy
  {
  }
  RelationSide.LeftSide PRHistoryData
  {
    #keys: '3[414384.0.795671695][414384.0.795671694][414384.0.795671696]'
    Cardinality: '0to1'
    ObjectDefinition: ERPRequestOfPR
    OwningSide: 'Reference'
  }
  RelationSide.RightSide ERPRequestOfPR
  {
    #keys: '3[414384.0.795671698][414384.0.795671697][414384.0.795671699]'
    Cardinality: '0to1'
    ObjectDefinition: PRHistoryData
    OwningSide: 'Owned'
  }
}
_Main/BL/Relations/Relation_ERPResponseOfPR_ERPRequestOfPR_ERPRequestOfPR_ERPResponseOfPR.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,23 @@
Quintiq file version 2.0
#parent: #root
Relation ERPResponseOfPR_ERPRequestOfPR_ERPRequestOfPR_ERPResponseOfPR
{
  #keys: '1[414384.0.789498681]'
  DefaultRelationStrategy
  {
  }
  RelationSide.LeftSide ERPRequestOfPR
  {
    #keys: '3[414384.0.789498683][414384.0.789498682][414384.0.789498684]'
    Cardinality: '0to1'
    ObjectDefinition: ERPResponseOfPR
    OwningSide: 'Reference'
  }
  RelationSide.RightSide ERPResponseOfPR
  {
    #keys: '3[414384.0.789498686][414384.0.789498685][414384.0.789498687]'
    Cardinality: '0to1'
    ObjectDefinition: ERPRequestOfPR
    OwningSide: 'Owned'
  }
}
_Main/BL/Relations/Relation_PRData_MacroPlan_MacroPlan_PRData.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,23 @@
Quintiq file version 2.0
#parent: #root
Relation PRData_MacroPlan_MacroPlan_PRData
{
  #keys: '1[414384.0.796031632]'
  DefaultRelationStrategy
  {
  }
  RelationSide.LeftSide MacroPlan
  {
    #keys: '3[414384.0.796031634][414384.0.796031633][414384.0.796031635]'
    Cardinality: '0to1'
    ObjectDefinition: PRData
    OwningSide: 'Reference'
  }
  RelationSide.RightSide PRData
  {
    #keys: '3[414384.0.796031637][414384.0.796031636][414384.0.796031638]'
    Cardinality: '1toN'
    ObjectDefinition: MacroPlan
    OwningSide: 'Owned'
  }
}
_Main/BL/Relations/Relation_PRHistoryData_GlobalOTDTable_GlobalOTDTable_PRHistoryData.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,23 @@
Quintiq file version 2.0
#parent: #root
Relation PRHistoryData_GlobalOTDTable_GlobalOTDTable_PRHistoryData
{
  #keys: '1[414384.0.789498541]'
  DefaultRelationStrategy
  {
  }
  RelationSide.LeftSide GlobalOTDTable
  {
    #keys: '3[414384.0.789498543][414384.0.789498542][414384.0.789498544]'
    Cardinality: '0to1'
    ObjectDefinition: PRHistoryData
    OwningSide: 'Reference'
  }
  RelationSide.RightSide PRHistoryData
  {
    #keys: '3[414384.0.789498546][414384.0.789498545][414384.0.789498547]'
    Cardinality: '1toN'
    ObjectDefinition: GlobalOTDTable
    OwningSide: 'Owned'
  }
}
_Main/BL/Type_ERPRequestOfPR/Attribute_BusinessType.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute BusinessType
{
  #keys: '3[414384.0.795671721][414384.0.795671720][414384.0.795671722]'
  ValueType: String
}
_Main/BL/Type_ERPRequestOfPR/Attribute_DataID.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute DataID
{
  #keys: '3[414384.0.795671715][414384.0.795671714][414384.0.795671716]'
  ValueType: String
}
_Main/BL/Type_ERPRequestOfPR/Attribute_DeliveryDate.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute DeliveryDate
{
  #keys: '3[414384.0.796031591][414384.0.796031590][414384.0.796031592]'
  ValueType: Date
}
_Main/BL/Type_ERPRequestOfPR/Attribute_MRPCalverNo.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute MRPCalverNo
{
  #keys: '3[414384.0.795671718][414384.0.795671717][414384.0.795671719]'
  ValueType: String
}
_Main/BL/Type_ERPRequestOfPR/Attribute_OrganCode.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute OrganCode
{
  #keys: '3[414384.0.795671724][414384.0.795671723][414384.0.795671725]'
  ValueType: String
}
_Main/BL/Type_ERPRequestOfPR/Attribute_ProductID.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute ProductID
{
  #keys: '3[414384.0.795671727][414384.0.795671726][414384.0.795671728]'
  ValueType: String
}
_Main/BL/Type_ERPRequestOfPR/Attribute_ProductName.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute ProductName
{
  #keys: '3[414384.0.795671730][414384.0.795671729][414384.0.795671731]'
  ValueType: String
}
_Main/BL/Type_ERPRequestOfPR/Attribute_ProviderCode.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute ProviderCode
{
  #keys: '3[414384.0.795671733][414384.0.795671732][414384.0.795671734]'
  ValueType: String
}
_Main/BL/Type_ERPRequestOfPR/Attribute_ProviderName.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute ProviderName
{
  #keys: '3[414384.0.795671736][414384.0.795671735][414384.0.795671737]'
  ValueType: String
}
_Main/BL/Type_ERPRequestOfPR/Attribute_Quantity.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute Quantity
{
  #keys: '3[414384.0.795671742][414384.0.795671741][414384.0.795671743]'
  ValueType: Real
}
_Main/BL/Type_ERPRequestOfPR/Attribute_StockingPointID.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute StockingPointID
{
  #keys: '3[414384.0.795671745][414384.0.795671744][414384.0.795671746]'
  ValueType: String
}
_Main/BL/Type_ERPRequestOfPR/Attribute_UnitOfMeasure.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute UnitOfMeasure
{
  #keys: '3[414384.0.795671748][414384.0.795671747][414384.0.795671749]'
  ValueType: String
}
_Main/BL/Type_ERPRequestOfPR/Method_DoCall.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,58 @@
Quintiq file version 2.0
#parent: #root
Method DoCall () as ERPResponseOfPR
{
  TextBody:
  [*
    // yypsybs Sep-11-2023 (created)
    conv := DateTimeToString::StandardConverter();
    conv.SetCustomConversion();
    conv.CustomFormatString( 'yyyyMMdd' );
    requestJSON := JSON::Object();
    requestJSON.Add( "BusinessType", this.BusinessType() );
    requestJSON.Add( "DataID", this.DataID() );
    requestJSON.Add( "DeliveryDate", conv.Convert( this.DeliveryDate().DateTime() ) );
    requestJSON.Add( "MRPCalverNo", this.MRPCalverNo() );
    requestJSON.Add( "OrganCode", this.OrganCode() );
    requestJSON.Add( "ProductID", this.ProductID() );
    requestJSON.Add( "ProductName", this.ProductName() );
    requestJSON.Add( "ProvideCode", this.ProviderCode() );
    requestJSON.Add( "ProviderName", this.ProviderName() );
    requestJSON.Add( "Quantity", this.Quantity() );
    requestJSON.Add( "StockingPointID", this.StockingPointID() );
    requestJSON.Add( "UnitOfMeasure", this.UnitOfMeasure() );
    requestString := requestJSON.AsString();
    // æž„造http请求 todo
    httpInterface := HTTPInterface::Create( "127.0.0.1", 443 );
    httpInterface.URL( "/url" );
    httpInterface.PostMethod( true );
    httpInterface.AddHeader( "content-type", "application/json" );
    // å‘送请求
    result := null( ERPResponseOfPR );
    try {
      httpInterface.Call( requestString );
      responseString := httpInterface.Result();
      responseJSON := JSON::Parse( responseString );
      dataID := responseJSON.Get( "DataID" ).GetString();
      status := responseJSON.Get( "Status" ).GetString();
      errorDescription := responseJSON.Get( "ErrorDescription" ).GetString();
      result := this.ERPResponseOfPR( relnew,
                                      DataID := dataID,
                                      Status := status,
                                      ErrorDescription := errorDescription );
    } onerror {
      result := this.ERPResponseOfPR( relnew,
                                      DataID := this.DataID(),
                                      Status := "E",
                                      ErrorDescription := e.GeneralInformation() );
    }
    return result;
  *]
}
_Main/BL/Type_ERPRequestOfPR/StaticMethod_Create.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,27 @@
Quintiq file version 2.0
#parent: #root
StaticMethod Create (
  PRHistoryData history
) as ERPRequestOfPR
{
  TextBody:
  [*
    // yypsybs Sep-12-2023 (created)
    request := history.ERPRequestOfPR( relnew );
    request.BusinessType( history.BusinessType() );
    request.DataID( history.DataID() );
    request.DeliveryDate( history.ProduceRequiredDate() );
    request.MRPCalverNo( history.MRPCalverNo() );
    request.OrganCode( history.OrganCode() );
    request.ProductID( history.ProductID() );
    request.ProductName( history.ProductName() );
    request.ProviderCode( history.ProviderCode() );
    request.ProviderName( history.ProviderName() );
    request.Quantity( history.Quantity() );
    request.StockingPointID( history.StockingPointID() );
    request.UnitOfMeasure( history.UnitOfMeasure() );
    return request;
  *]
}
_Main/BL/Type_ERPRequestOfPR/_ROOT_Type_ERPRequestOfPR.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,9 @@
Quintiq file version 2.0
#root
#parent: #DomainModel
Type ERPRequestOfPR
{
  #keys: '5[414384.0.789498661][414384.0.789498659][0.0.0][414384.0.789498660][414384.0.789498662]'
  BaseType: Object
  StructuredName: 'ERPRequestOfPRs'
}
_Main/BL/Type_ERPResponseOfPR/Attribute_DataID.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute DataID
{
  #keys: '3[414384.0.789526160][414384.0.789526159][414384.0.789526161]'
  ValueType: String
}
_Main/BL/Type_ERPResponseOfPR/Attribute_ErrorDescription.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute ErrorDescription
{
  #keys: '3[414384.0.789526180][414384.0.789526179][414384.0.789526181]'
  ValueType: String
}
_Main/BL/Type_ERPResponseOfPR/Attribute_Status.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute Status
{
  #keys: '3[414384.0.789526170][414384.0.789526169][414384.0.789526171]'
  ValueType: String
}
_Main/BL/Type_ERPResponseOfPR/_ROOT_Type_ERPResponseOfPR.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,10 @@
Quintiq file version 2.0
#root
#parent: #DomainModel
Type ERPResponseOfPR
{
  #keys: '5[414384.0.787890255][414384.0.787890253][0.0.0][414384.0.787890254][414384.0.787890256]'
  BaseType: Object
  Description: 'ERP响应'
  StructuredName: 'ERPResponseOfPRs'
}
_Main/BL/Type_MappingProduct/Attribute_OrgCode.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute OrgCode
{
  #keys: '3[414384.0.795680117][414384.0.795680116][414384.0.795680118]'
  ValueType: String
}
_Main/BL/Type_MappingProduct/StaticMethod_GetByProductId.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,17 @@
Quintiq file version 2.0
#parent: #root
StaticMethod GetByProductId (
  MacroPlan parent,
  String productId
) as MappingProduct
{
  Description: '根据料号查记录'
  TextBody:
  [*
    // yypsybs Sep-12-2023 (created)
    // todo ä¿®æ”¹parent类型
    value := select( parent, MappingProduct, item, item.ID() = productId );
    return value;
  *]
}
_Main/BL/Type_PRData/Attribute_AuthorizationStatus.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute AuthorizationStatus
{
  #keys: '3[414384.0.795671423][414384.0.795671422][414384.0.795671424]'
  ValueType: String
}
_Main/BL/Type_PRData/Attribute_BusinessType.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
#parent: #root
Attribute BusinessType
{
  #keys: '3[414384.0.789498492][414384.0.789498491][414384.0.789498493]'
  Description: '事业部'
  ValueType: String
}
_Main/BL/Type_PRData/Attribute_DataID.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute DataID
{
  #keys: '3[414384.0.795671476][414384.0.795671475][414384.0.795671477]'
  ValueType: String
}
_Main/BL/Type_PRData/Attribute_DeliverToRequestorId.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute DeliverToRequestorId
{
  #keys: '3[414384.0.795671441][414384.0.795671440][414384.0.795671442]'
  ValueType: String
}
_Main/BL/Type_PRData/Attribute_DestinationOrganizationId.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute DestinationOrganizationID
{
  #keys: '3[414384.0.795671438][414384.0.795671437][414384.0.795671439]'
  ValueType: String
}
_Main/BL/Type_PRData/Attribute_DestinationTypeCode.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute DestinationTypeCode
{
  #keys: '3[414384.0.795671417][414384.0.795671416][414384.0.795671418]'
  ValueType: String
}
_Main/BL/Type_PRData/Attribute_HeaderDescription.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute HeaderDescription
{
  #keys: '3[414384.0.795671429][414384.0.795671428][414384.0.795671430]'
  ValueType: String
}
_Main/BL/Type_PRData/Attribute_InterfaceSourceCode.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute InterfaceSourceCode
{
  #keys: '3[414384.0.795671486][414384.0.795671485][414384.0.795671487]'
  ValueType: String
}
_Main/BL/Type_PRData/Attribute_LineAttribute1.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute LineAttribute1
{
  #keys: '3[414384.0.795671444][414384.0.795671443][414384.0.795671445]'
  ValueType: String
}
_Main/BL/Type_PRData/Attribute_LineAttribute6.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute LineAttribute6
{
  #keys: '3[414384.0.795671447][414384.0.795671446][414384.0.795671448]'
  ValueType: String
}
_Main/BL/Type_PRData/Attribute_LineType.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute LineType
{
  #keys: '3[414384.0.795671435][414384.0.795671434][414384.0.795671436]'
  ValueType: String
}
_Main/BL/Type_PRData/Attribute_LineTypeId.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute LineTypeId
{
  #keys: '3[414384.0.795671432][414384.0.795671431][414384.0.795671433]'
  ValueType: String
}
_Main/BL/Type_PRData/Attribute_MRPCalverNo.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
#parent: #root
Attribute MRPCalverNo
{
  #keys: '3[414384.0.789498489][414384.0.789498488][414384.0.789498490]'
  Description: 'MRP计算版本号'
  ValueType: String
}
_Main/BL/Type_PRData/Attribute_OrgId.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute OrgId
{
  #keys: '3[414384.0.795671450][414384.0.795671449][414384.0.795671451]'
  ValueType: String
}
_Main/BL/Type_PRData/Attribute_OrganCode.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
#parent: #root
Attribute OrganCode
{
  #keys: '3[414384.0.789498495][414384.0.789498494][414384.0.789498496]'
  Description: '组织编码'
  ValueType: String
}
_Main/BL/Type_PRData/Attribute_PRSuggestionDate.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
#parent: #root
Attribute PRSuggestionDate
{
  #keys: '3[414384.0.789498483][414384.0.789498482][414384.0.789498484]'
  Description: 'PR建议日期'
  ValueType: Date
}
_Main/BL/Type_PRData/Attribute_PlannerCode.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
#parent: #root
Attribute PlannerCode
{
  #keys: '3[414384.0.789498510][414384.0.789498509][414384.0.789498511]'
  Description: '物料计划员'
  ValueType: String
}
_Main/BL/Type_PRData/Attribute_PreparerId.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute PreparerId
{
  #keys: '3[414384.0.795671426][414384.0.795671425][414384.0.795671427]'
  ValueType: String
}
_Main/BL/Type_PRData/Attribute_ProduceRequiredDate.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
#parent: #root
Attribute ProduceRequiredDate
{
  #keys: '3[414384.0.789498480][414384.0.789498479][414384.0.789498481]'
  Description: '需求日期'
  ValueType: Date
}
_Main/BL/Type_PRData/Attribute_ProductID.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
#parent: #root
Attribute ProductID
{
  #keys: '3[414384.0.789498474][414384.0.789498473][414384.0.789498475]'
  Description: '零件号'
  ValueType: String
}
_Main/BL/Type_PRData/Attribute_ProductName.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
#parent: #root
Attribute ProductName
{
  #keys: '3[414384.0.789498477][414384.0.789498476][414384.0.789498478]'
  Description: '零件名称'
  ValueType: String
}
_Main/BL/Type_PRData/Attribute_ProviderCode.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
#parent: #root
Attribute ProviderCode
{
  #keys: '3[414384.0.789498498][414384.0.789498497][414384.0.789498499]'
  Description: '供应商代码'
  ValueType: String
}
_Main/BL/Type_PRData/Attribute_ProviderName.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
#parent: #root
Attribute ProviderName
{
  #keys: '3[414384.0.789498501][414384.0.789498500][414384.0.789498502]'
  Description: '供应商名称'
  ValueType: String
}
_Main/BL/Type_PRData/Attribute_Quantity.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
#parent: #root
Attribute Quantity
{
  #keys: '3[414384.0.789498486][414384.0.789498485][414384.0.789498487]'
  Description: '需求数量'
  ValueType: Real
}
_Main/BL/Type_PRData/Attribute_RequisitionType.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
#parent: #root
Attribute RequisitionType
{
  #keys: '3[414384.0.796031490][414384.0.796031489][414384.0.796031491]'
  Description: '调接口用'
  ValueType: String
}
_Main/BL/Type_PRData/Attribute_SendBy.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
#parent: #root
Attribute SendBy
{
  #keys: '3[414384.0.789498519][414384.0.789498518][414384.0.789498520]'
  Description: '发送人'
  ValueType: String
}
_Main/BL/Type_PRData/Attribute_SendStatus.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
#parent: #root
Attribute SendStatus
{
  #keys: '3[414384.0.789498513][414384.0.789498512][414384.0.789498514]'
  Description: 'PR数据发送状态'
  ValueType: String
}
_Main/BL/Type_PRData/Attribute_SendTIme.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
#parent: #root
Attribute SendTIme
{
  #keys: '3[414384.0.789498516][414384.0.789498515][414384.0.789498517]'
  Description: '发送时间'
  ValueType: DateTime
}
_Main/BL/Type_PRData/Attribute_StockingPointID.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
#parent: #root
Attribute StockingPointID
{
  #keys: '3[414384.0.789498504][414384.0.789498503][414384.0.789498505]'
  Description: '收货库存点'
  ValueType: String
}
_Main/BL/Type_PRData/Attribute_UnitOfMeasure.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
#parent: #root
Attribute UnitOfMeasure
{
  #keys: '3[414384.0.789498507][414384.0.789498506][414384.0.789498508]'
  Description: '计量单位'
  ValueType: String
}
_Main/BL/Type_PRData/Attribute_UnitPrice.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute UnitPrice
{
  #keys: '3[414384.0.795671420][414384.0.795671419][414384.0.795671421]'
  ValueType: Real
}
_Main/BL/Type_PRData/Method_DoCall.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,61 @@
Quintiq file version 2.0
#parent: #root
Method DoCall (
  GlobalOTDTable globalData,
  String callBy
) as PRHistoryData
{
  Description: '调用'
  TextBody:
  [*
    // yypsybs Sep-11-2023 (created)
    result := globalData.PRHistoryData( relnew );
    // ç…§æ¬éƒ¨åˆ†
    result.AuthorizationStatus( this.AuthorizationStatus() );
    result.BusinessType( this.BusinessType() );
    result.DataID( this.DataID() );
    result.DeliverToRequestorId( this.DeliverToRequestorId() );
    result.DestinationOrganizationID( this.DestinationOrganizationID() );
    result.DestinationTypeCode( this.DestinationTypeCode() );
    result.HeaderDescription( this.HeaderDescription() );
    result.LineAttribute1( this.LineAttribute1() );
    result.LineAttribute6( this.LineAttribute6() );
    result.LineType( this.LineType() );
    result.LineTypeId( this.LineTypeId() );
    result.MRPCalverNo( this.MRPCalverNo() );
    result.OrganCode( this.OrganCode() );
    result.OrgId( this.OrgId() );
    result.PlannerCode( this.PlannerCode() );
    result.PreparerId( this.PreparerId() );
    result.ProduceRequiredDate( this.ProduceRequiredDate() );
    result.ProductID( this.ProductID() );
    result.ProductName( this.ProductName() );
    result.ProviderCode( this.ProviderCode() );
    result.ProviderName( this.ProviderName() );
    result.Quantity( this.Quantity() );
    result.RequisitionType( this.RequisitionType() );
    result.StockingPointID( this.StockingPointID() );
    result.UnitOfMeasure( this.UnitOfMeasure() );
    result.UnitPrice( this.UnitPrice() );
    // è¯·æ±‚部分
    request := ERPRequestOfPR::Create( result );
    response := request.DoCall();
    // å“åº”部分
    result.ReceiveError( response.ErrorDescription() );
    result.ReceiveStatus( response.Status() );
    result.ReceiveTime( DateTime::Now() );
    // ä¸»è®°å½•修改
    result.SendStatus( "T" );
    result.ReleaseBy( callBy );
    result.SendTime( DateTime::Now() );
    this.SendStatus( "T" );
    this.SendTIme( DateTime::Now() );
    this.SendBy( callBy );
    return result;
  *]
}
_Main/BL/Type_PRData/StaticMethod_CanCall.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,19 @@
Quintiq file version 2.0
#parent: #root
StaticMethod CanCall (
  PRDatas toCalls,
  output String feedback_o
) as Boolean
{
  TextBody:
  [*
    // yypsybs Sep-12-2023 (created)
    feedback_o := "";
    traverse( toCalls, Elements, toCall ) {
      if( toCall.SendStatus() <> "" ) {
        feedback_o := "SendStatus must be empty!";
      }
    }
    return feedback_o = "";
  *]
}
_Main/BL/Type_PRData/StaticMethod_DoCall.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,16 @@
Quintiq file version 2.0
#parent: #root
StaticMethod DoCall (
  GlobalOTDTable globalData,
  PRDatas toCalls,
  String callBy
)
{
  TextBody:
  [*
    // yypsybs Sep-12-2023 (created)
    traverse( toCalls, Elements, toCall, toCall.SendStatus() = "" ) {
      toCall.DoCall( globalData, callBy );
    }
  *]
}
_Main/BL/Type_PRData/StaticMethod_FromSupplyPlanning#662.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,75 @@
Quintiq file version 2.0
#parent: #root
StaticMethod FromSupplyPlanning (
  MacroPlan macroPlan,
  MacroPlan mappingRoot,
  ProductInStockingPointInPeriod pispip
) as PRData
{
  TextBody:
  [*
    // yypsybs Sep-12-2023 (created)
    result := macroPlan.PRData( relnew );
    result.InterfaceSourceCode( "Quintiq" );
    pisp := pispip.ProductInStockingPoint_MP();
    product := pisp.Product_MP();
    stockingPoint := pisp.StockingPoint_MP();
    period := pispip.Period_MP();
    mappingProduct := MappingProduct::GetByProductId( mappingRoot, product.ID() );
    // æŽ¥å£/中间表暂无
    mappingProviderCapacity := "暂无";
    erpData := "暂无";
    // æ ¹æ®pispip
    result.MRPCalverNo( pispip.MRPCalverNo() );
    result.Quantity( pispip.NewSupplyQuantity() );
    // æ ¹æ®product
    result.ProductID( product.ID() );
    result.ProductName( product.Name() );
    // æ ¹æ®stockingPoint
    result.StockingPointID( stockingPoint.ID() );
    // æ ¹æ®period
    result.ProduceRequiredDate( period.StartDate() );
    result.PRSuggestionDate( ifexpr( (result.ProduceRequiredDate() - Duration::Days( 7 )).Date() >= Date::Today(),
                                     Date::Today(), (result.ProduceRequiredDate() - Duration::Days( 7 )).Date() ) );
    // æ ¹æ®product中间表
    result.BusinessType( mappingProduct.BusinessType() );
    result.OrganCode( mappingProduct.OrgCode() );
    result.UnitOfMeasure( mappingProduct.UnitOfMeasureName() );
    // æ ¹æ®ä¾›åº”商能力中间表
    result.ProviderCode( mappingProviderCapacity );
    result.ProductName( mappingProviderCapacity );
    // æ ¹æ®erp接口 å›ºå®šå€¼
    result.RequisitionType( "PURCHASE" );
    result.DestinationTypeCode( "INVENTORY" );
    result.UnitPrice( 1.0 );
    result.AuthorizationStatus( "INCOMPLETE" );
    result.LineTypeId( "1" );
    result.LineType( "货物" );
    // æ ¹æ®erp接口 todo
    result.PreparerId( erpData );
    result.HeaderDescription( erpData );
    result.DestinationOrganizationID( erpData );
    result.DeliverToRequestorId( erpData );
    result.LineAttribute1( erpData );
    result.LineAttribute6( erpData );
    result.OrgId( erpData );
    // ç”Ÿæˆid todo
    result.DataID( [String]Number::Random( Number::MinNumber(), Number::MaxNumber() ) );
    // å‘送信息
    result.SendStatus( "" );
    result.SendBy( "" );
    result.SendTIme( DateTime::MinDateTime() );
    return result;
  *]
}
_Main/BL/Type_PRData/StaticMethod_FromSupplyPlanning.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,27 @@
Quintiq file version 2.0
#parent: #root
StaticMethod FromSupplyPlanning (
  MacroPlan macroPlan,
  MacroPlan mappingRoot,
  String mrpCalverNo
)
{
  Description:
  [*
    SupplyPlanning转PRData
    todo ä¿®æ”¹mappingRoot为MPSync
  *]
  TextBody:
  [*
    // yypsybs Sep-12-2023 (created)
    // æŒ‰MRPCalverNo查,已有旧记录时不处理
    oldRecords := selectset( macroPlan, PRData, item,
                             item.MRPCalverNo() = mrpCalverNo );
    if( isnull( oldRecords ) or oldRecords.Size() = 0 ) {
      pispips := ProductInStockingPointInPeriod::GetByMRPCalverNo( macroPlan, mrpCalverNo );
      traverse( pispips, Elements, item ) {
        PRData::FromSupplyPlanning( macroPlan, mappingRoot, item );
      }
    }
  *]
}
_Main/BL/Type_PRData/StaticMethod_ProductIdOver14Days.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,27 @@
Quintiq file version 2.0
#parent: #root
StaticMethod ProductIdOver14Days (
  PRDatas toChecks
) as String
{
  TextBody:
  [*
    // yypsybs Sep-12-2023 (created)
    result := "";
    productIds := selectuniquevalues( toChecks, Elements, item,
                                      (item.ProduceRequiredDate() - Duration::Days( 14 )).Date() > Date::Today(),
                                      item.ProductID() );
    productIds := selectsortedset( productIds, Elements, item, item );
    if( productIds.Size() > 0 ) {
      result := result + productIds.Element( 0 );
      for( i := 1; i < productIds.Size(); i := i + 1 ) {
        result := result + ",";
        result := result + productIds.Element( 0 );
      }
    }
    return result;
  *]
}
_Main/BL/Type_PRData/StaticMethod_TestData.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,28 @@
Quintiq file version 2.0
#parent: #root
StaticMethod TestData (
  MacroPlan macroPlan
)
{
  TextBody:
  [*
    // yypsybs Sep-12-2023 (created)
    if( selectset( macroPlan, PRData, item, true ).Size() = 0 ) {
      info( "======== Create PR Test Data ========" );
      for( i := 0; i < 100; i := i + 1 ) {
        macroPlan.PRData( relnew,
                          MRPCalverNo := [String]Number::Random( 1, Number::MaxNumber() ),
                          BusinessType := [String]Number::Random( 1, Number::MaxNumber() ),
                          OrganCode := [String]Number::Random( 1, Number::MaxNumber() ),
                          ProductID := [String]Number::Random( 1, Number::MaxNumber() ),
                          StockingPointID := [String]Number::Random( 1, Number::MaxNumber() ),
                          Quantity := Number::Random( 1, Number::MaxNumber() ),
                          ProduceRequiredDate := Date::Construct( 2023,
                                                                  Number::Random( 9, 12 ),
                                                                  Number::Random( 13, 28 ) ),
                          DataID := [String]Number::Random( 1, Number::MaxNumber() ),
                          SendStatus := ifexpr( Number::Random( 1, 5 ) = 1, "T", "" ) );
      }
    }
  *]
}
_Main/BL/Type_PRData/_ROOT_Type_PRData.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,10 @@
Quintiq file version 2.0
#root
#parent: #DomainModel
Type PRData
{
  #keys: '5[414384.0.787890167][414384.0.787890165][0.0.0][414384.0.787890166][414384.0.787890168]'
  BaseType: Object
  Description: 'PR数据'
  StructuredName: 'PRDatas'
}
_Main/BL/Type_PRHistoryData/Attribute_AuthorizationStatus.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute AuthorizationStatus
{
  #keys: '3[414384.0.796031550][414384.0.796031549][414384.0.796031551]'
  ValueType: String
}
_Main/BL/Type_PRHistoryData/Attribute_BusinessType.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
#parent: #root
Attribute BusinessType
{
  #keys: '3[414384.0.789498626][414384.0.789498625][414384.0.789498627]'
  Description: '事业部'
  ValueType: String
}
_Main/BL/Type_PRHistoryData/Attribute_DataID.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute DataID
{
  #keys: '3[414384.0.795671680][414384.0.795671679][414384.0.795671681]'
  ValueType: String
}
_Main/BL/Type_PRHistoryData/Attribute_DeliverToRequestorId.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute DeliverToRequestorId
{
  #keys: '3[414384.0.795671590][414384.0.795671589][414384.0.795671591]'
  ValueType: String
}
_Main/BL/Type_PRHistoryData/Attribute_DestinationOrganizationID.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute DestinationOrganizationID
{
  #keys: '3[414384.0.795671654][414384.0.795671653][414384.0.795671655]'
  ValueType: String
}
_Main/BL/Type_PRHistoryData/Attribute_DestinationTypeCode.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute DestinationTypeCode
{
  #keys: '3[414384.0.795671530][414384.0.795671529][414384.0.795671531]'
  ValueType: String
}
_Main/BL/Type_PRHistoryData/Attribute_HeaderDescription#16.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute HeaderDescription
{
  #keys: '3[414384.0.796031566][414384.0.796031565][414384.0.796031567]'
  ValueType: String
}
_Main/BL/Type_PRHistoryData/Attribute_LineAttribute1.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute LineAttribute1
{
  #keys: '3[414384.0.795671611][414384.0.795671610][414384.0.795671612]'
  ValueType: String
}
_Main/BL/Type_PRHistoryData/Attribute_LineAttribute6.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute LineAttribute6
{
  #keys: '3[414384.0.795671621][414384.0.795671620][414384.0.795671622]'
  ValueType: String
}
_Main/BL/Type_PRHistoryData/Attribute_LineType.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute LineType
{
  #keys: '3[414384.0.795671560][414384.0.795671559][414384.0.795671561]'
  ValueType: String
}
_Main/BL/Type_PRHistoryData/Attribute_LineTypeId.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute LineTypeId
{
  #keys: '3[414384.0.795671550][414384.0.795671549][414384.0.795671551]'
  ValueType: String
}
_Main/BL/Type_PRHistoryData/Attribute_MRPCalverNo.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
#parent: #root
Attribute MRPCalverNo
{
  #keys: '3[414384.0.787890315][414384.0.787890314][414384.0.787890316]'
  Description: 'MRP计算版本号'
  ValueType: String
}
_Main/BL/Type_PRHistoryData/Attribute_OrgId.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute OrgId
{
  #keys: '3[414384.0.795671631][414384.0.795671630][414384.0.795671632]'
  ValueType: String
}
_Main/BL/Type_PRHistoryData/Attribute_OrganCode.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
#parent: #root
Attribute OrganCode
{
  #keys: '3[414384.0.787890338][414384.0.787890337][414384.0.787890339]'
  Description: '组织编码'
  ValueType: String
}
_Main/BL/Type_PRHistoryData/Attribute_PRDataReleaseDate.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
#parent: #root
Attribute PRDataReleaseDate
{
  #keys: '3[414384.0.789526135][414384.0.789526134][414384.0.789526136]'
  Description: 'PR数据推送日期'
  ValueType: Date
}
_Main/BL/Type_PRHistoryData/Attribute_PlannerCode.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
#parent: #root
Attribute PlannerCode
{
  #keys: '3[414384.0.787890388][414384.0.787890387][414384.0.787890389]'
  Description: '物料计划员'
  ValueType: String
}
_Main/BL/Type_PRHistoryData/Attribute_PreparerID.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute PreparerID
{
  #keys: '3[414384.0.789498615][414384.0.789498614][414384.0.789498616]'
  ValueType: String
}
_Main/BL/Type_PRHistoryData/Attribute_PreparerId#603.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute PreparerId
{
  #keys: '3[414384.0.795671570][414384.0.795671569][414384.0.795671571]'
  ValueType: String
}
_Main/BL/Type_PRHistoryData/Attribute_ProduceRequiredDate#168.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
#parent: #root
Attribute ProduceRequiredDate
{
  #keys: '3[414384.0.795671764][414384.0.795671763][414384.0.795671765]'
  Description: '需求日期'
  ValueType: Date
}
_Main/BL/Type_PRHistoryData/Attribute_ProductID.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
#parent: #root
Attribute ProductID
{
  #keys: '3[414384.0.787890275][414384.0.787890274][414384.0.787890276]'
  Description: '零件号'
  ValueType: String
}
_Main/BL/Type_PRHistoryData/Attribute_ProductName.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
#parent: #root
Attribute ProductName
{
  #keys: '3[414384.0.787890295][414384.0.787890294][414384.0.787890296]'
  Description: '零件名称'
  ValueType: String
}
_Main/BL/Type_PRHistoryData/Attribute_ProviderCode.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
#parent: #root
Attribute ProviderCode
{
  #keys: '3[414384.0.787890348][414384.0.787890347][414384.0.787890349]'
  Description: '供应商代码'
  ValueType: String
}
_Main/BL/Type_PRHistoryData/Attribute_ProviderName.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
#parent: #root
Attribute ProviderName
{
  #keys: '3[414384.0.787890358][414384.0.787890357][414384.0.787890359]'
  Description: '供应商名称'
  ValueType: String
}
_Main/BL/Type_PRHistoryData/Attribute_Quantity.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
#parent: #root
Attribute Quantity
{
  #keys: '3[414384.0.787890305][414384.0.787890304][414384.0.787890306]'
  Description: '需求数量'
  ValueType: Real
}
_Main/BL/Type_PRHistoryData/Attribute_ReceiveError.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
#parent: #root
Attribute ReceiveError
{
  #keys: '3[414384.0.787890454][414384.0.787890453][414384.0.787890455]'
  Description: '错误描述'
  ValueType: String
}
_Main/BL/Type_PRHistoryData/Attribute_ReceiveStatus.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,12 @@
Quintiq file version 2.0
#parent: #root
Attribute ReceiveStatus
{
  #keys: '3[414384.0.787890428][414384.0.787890427][414384.0.787890429]'
  Description:
  [*
    ERP接收状态
    S成功,E失败
  *]
  ValueType: String
}
_Main/BL/Type_PRHistoryData/Attribute_ReceiveTime.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
#parent: #root
Attribute ReceiveTime
{
  #keys: '3[414384.0.787890438][414384.0.787890437][414384.0.787890439]'
  Description: '接收时间'
  ValueType: DateTime
}
_Main/BL/Type_PRHistoryData/Attribute_ReleaseBy.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
#parent: #root
Attribute ReleaseBy
{
  #keys: '3[414384.0.787890418][414384.0.787890417][414384.0.787890419]'
  Description: '释放人'
  ValueType: String
}
_Main/BL/Type_PRHistoryData/Attribute_RequisitionType.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute RequisitionType
{
  #keys: '3[414384.0.795671520][414384.0.795671519][414384.0.795671521]'
  ValueType: String
}
_Main/BL/Type_PRHistoryData/Attribute_SendStatus.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
#parent: #root
Attribute SendStatus
{
  #keys: '3[414384.0.787890398][414384.0.787890397][414384.0.787890399]'
  Description: '发送状态'
  ValueType: String
}
_Main/BL/Type_PRHistoryData/Attribute_SendTime.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
#parent: #root
Attribute SendTime
{
  #keys: '3[414384.0.787890408][414384.0.787890407][414384.0.787890409]'
  Description: '发送时间'
  ValueType: DateTime
}
_Main/BL/Type_PRHistoryData/Attribute_StockingPointID.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
#parent: #root
Attribute StockingPointID
{
  #keys: '3[414384.0.787890368][414384.0.787890367][414384.0.787890369]'
  Description: '收货库存点'
  ValueType: String
}
_Main/BL/Type_PRHistoryData/Attribute_UnitOfMeasure.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
#parent: #root
Attribute UnitOfMeasure
{
  #keys: '3[414384.0.787890378][414384.0.787890377][414384.0.787890379]'
  Description: '计量单位'
  ValueType: String
}
_Main/BL/Type_PRHistoryData/Attribute_UnitPrice.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute UnitPrice
{
  #keys: '3[414384.0.795671540][414384.0.795671539][414384.0.795671541]'
  ValueType: Real
}
_Main/BL/Type_PRHistoryData/DefaultValue_BusinessType.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,6 @@
Quintiq file version 2.0
#parent: #root
DefaultValue
{
  TargetAttribute: BusinessType
}
_Main/BL/Type_PRHistoryData/Method_Recall.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,29 @@
Quintiq file version 2.0
#parent: #root
Method ReCall (
  String callBy
) as PRHistoryData
{
  Description: '重调'
  TextBody:
  [*
    // yypsybs Sep-11-2023 (created)
    result := this.GlobalOTDTable().PRHistoryData( relcopy, this );
    // æ›´æ–°éƒ¨åˆ†
    result.PRDataReleaseDate( Date::Today() );
    result.ReleaseBy( callBy );
    result.SendTime( DateTime::Now() );
    // è¯·æ±‚
    request := ERPRequestOfPR::Create( result );
    response := request.DoCall();
    // å“åº”部分
    result.ReceiveError( response.ErrorDescription() );
    result.ReceiveStatus( response.Status() );
    result.ReceiveTime( DateTime::Now() );
    return result;
  *]
}
_Main/BL/Type_PRHistoryData/StaticMethod_ReCall.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,15 @@
Quintiq file version 2.0
#parent: #root
StaticMethod ReCall (
  PRHistoryDatas toCalls,
  String callBy
)
{
  TextBody:
  [*
    // yypsybs Sep-12-2023 (created)
    traverse( toCalls, Elements, toCall ) {
      toCall.ReCall( callBy );
    }
  *]
}
_Main/BL/Type_PRHistoryData/_ROOT_Type_PRHistoryData.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,10 @@
Quintiq file version 2.0
#root
#parent: #DomainModel
Type PRHistoryData
{
  #keys: '5[414384.0.787890172][414384.0.787890170][0.0.0][414384.0.787890171][414384.0.787890173]'
  BaseType: Object
  Description: '历史PR数据'
  StructuredName: 'PRHistoryDatas'
}
_Main/BL/Type_ProductInStockingPointInPeriod/Attribute_mrpCalverNo.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
#parent: #root
Attribute MRPCalverNo
{
  #keys: '3[414384.0.796031432][414384.0.796031431][414384.0.796031433]'
  Description: 'MRP计算版本号'
  ValueType: String
}
_Main/BL/Type_ProductInStockingPointInPeriod/StaticMethod_GetByMRPCalverNo.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,17 @@
Quintiq file version 2.0
#parent: #root
StaticMethod GetByMRPCalverNo (
  MacroPlan parent,
  String mrpCalverNo
) as owning ProductInStockingPointInPeriods
{
  Description: '根据MRP计算版本号获取待处理数据'
  TextBody:
  [*
    // yypsybs Sep-12-2023 (created)
    result := selectset( parent, Product_MP.ProductInStockingPoint_MP.ProductInStockingPointInPeriod, pispip,
                         pispip.ProductInStockingPoint_MP().Product_MP().ID().StartsWith( "E" )
                         and pispip.MRPCalverNo() = mrpCalverNo );
    return &result;
  *]
}
_Main/BL/Type_ProductInStockingPointInPeriod/_ROOT_Type_ProductInStockingPointInPeriod.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,6 @@
Quintiq file version 2.0
#root
#parent: #DomainModel
Type ProductInStockingPointInPeriod #extension
{
}
_Main/UI/MacroPlannerWebApp/Component_Form633/Component_ListPRData#844.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,105 @@
Quintiq file version 2.0
Component ListPRData id:ListPRData_844
{
  #keys: '[414384.0.789711874]'
  BaseType: 'WebList'
  Children:
  [
    Component DataExtractorPRData
    {
      #keys: '[414384.0.789711875]'
      BaseType: 'WebDataExtractor'
      Properties:
      [
        DataType: 'MacroPlan'
        Source: 'MacroPlan'
        Taborder: 0
        Transformation: 'PRData'
      ]
    }
    Component DataSetLevelPRData
    {
      #keys: '[414384.0.789711876]'
      BaseType: 'WebDataSetLevel'
      Children:
      [
        #child: listContextMenuPRData_1
      ]
      Properties:
      [
        Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"MRPCalverNo","title":"MRPCalverNo","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"MRPCalverNo"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ProductID","title":"ProductID","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ProductID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"StockingPointID","title":"StockingPointID","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"StockingPointID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ProduceRequiredDate","title":"ProduceRequiredDate","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ProduceRequiredDate"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Quantity","title":"Quantity","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Quantity"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SendStatus","title":"SendStatus","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SendStatus"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SendBy","title":"SendBy","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SendBy"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SendTIme","title":"SendTIme","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SendTIme"}}]'
        ContextMenu: 'listContextMenuPRData'
        SortCriteria: 'BusinessType;MRPCalverNo'
        Taborder: 1
      ]
    }
    #child: listActionBarPagePRData_1
  ]
  Properties:
  [
    Taborder: 0
  ]
  ResponseDefinitions:
  [
    DelegatedResponseDefinition OnClick id:Responsedef_ListPRData_844_WebMenu_OnClick
    {
      #keys: '[414384.0.789711869]'
      Initiator: 'WebMenu'
      IsInherited: false
      ResponseType: 'OnClick'
      Arguments:
      [
        ResponseDefinitionArgument selection
        {
          #keys: '[2651.0.25404553]'
          Binding: 'this.Selection()'
        }
      ]
    }
    DelegatedResponseDefinition OnClick id:Responsedef_ListPRData_844_WebButton_OnClick
    {
      #keys: '[414384.0.789711868]'
      Initiator: 'WebButton'
      IsInherited: false
      ResponseType: 'OnClick'
      Arguments:
      [
        ResponseDefinitionArgument selection
        {
          #keys: '[6763.0.7953347]'
          Binding: 'this.Selection()'
        }
      ]
    }
    DelegatedResponseDefinition OnClick id:Responsedef_ListPRData_844_WebMenu_OnClick_870
    {
      #keys: '[414384.0.789711867]'
      Initiator: 'WebMenu'
      IsInherited: false
      ResponseType: 'OnClick'
      Arguments:
      [
        ResponseDefinitionArgument checked
        {
          #keys: '[6763.0.7953392]'
          Binding: 'this.Checked()'
        }
      ]
    }
    DelegatedResponseDefinition OnClick id:Responsedef_ListPRData_844_WebButton_OnClick_870
    {
      #keys: '[414384.0.789711866]'
      Initiator: 'WebButton'
      IsInherited: false
      ResponseType: 'OnClick'
      Arguments:
      [
        ResponseDefinitionArgument checked
        {
          #keys: '[6763.0.7953437]'
          Binding: 'this.Checked()'
        }
      ]
    }
  ]
}
_Main/UI/MacroPlannerWebApp/Component_Form633/Component_listActionBarPagePRData#1.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,10 @@
Quintiq file version 2.0
Component listActionBarPagePRData id:listActionBarPagePRData_1
{
  #keys: '[414384.0.789711881]'
  BaseType: 'listActionBarPage'
  Properties:
  [
    Taborder: 2
  ]
}
_Main/UI/MacroPlannerWebApp/Component_Form633/Component_listContextMenuPRData#1.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,24 @@
Quintiq file version 2.0
Component listContextMenuPRData id:listContextMenuPRData_1
{
  #keys: '[414384.0.789711877]'
  BaseType: 'listContextMenu'
  Children:
  [
    Component MenuCall
    {
      #keys: '[414384.0.796101349]'
      BaseType: 'WebMenu'
      Properties:
      [
        Image: 'MEDIA_PLAY_GREEN'
        Taborder: 3
        Title: 'Call'
      ]
    }
  ]
  Properties:
  [
    Taborder: 0
  ]
}
_Main/UI/MacroPlannerWebApp/Component_Form633/Response_ListPRData_844_MenuCall_OnClick.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,30 @@
Quintiq file version 2.0
#parent: ListPRData_844
Response OnClick (
  structured[PRData] selection
) id:Response_ListPRData_844_MenuCall_OnClick
{
  #keys: '[414384.0.793461398]'
  CanBindMultiple: false
  DefinitionID => /ListPRData_844/Responsedef_ListPRData_844_WebMenu_OnClick
  Initiator: 'MenuCall'
  Precondition:
  [*
    return PRData::CanCall( selection, feedback );
  *]
  QuillAction
  {
    Body:
    [*
      productIdsOver14Days := PRData::ProductIdOver14Days( selection );
      if( productIdsOver14Days <> "" ) {
        if( WebMessageBox::Question( "该批次中的物料号" + productIdsOver14Days + "订单应该在2周后释放,请确认是否现在释放?" ) = 0 ) {
          PRData::DoCall( GlobalOTDTable, selection, ApplicationMacroPlanner.GetUserName() );
        }
      } else if( WebMessageBox::Question( "是否发送选中的数据?" ) = 0 ) {
        PRData::DoCall( GlobalOTDTable, selection, ApplicationMacroPlanner.GetUserName() );
      }
    *]
    GroupServerCalls: false
  }
}
_Main/UI/MacroPlannerWebApp/Component_Form633/Response_OnCreated.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,18 @@
Quintiq file version 2.0
#parent: #root
Response OnCreated () id:Response_FormPRData_OnCreated
{
  #keys: '[414384.0.793421050]'
  CanBindMultiple: false
  DefinitionID: 'Responsedef_WebComponent_OnCreated'
  GroupServerCalls: true
  QuillAction
  {
    Body:
    [*
      MacroPlan.PRData( relflush );
      GlobalOTDTable.PRHistoryData( relflush );
      PRData::TestData( MacroPlan );
    *]
  }
}
_Main/UI/MacroPlannerWebApp/Component_Form633/_ROOT_Component_FormPRData#633.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,16 @@
Quintiq file version 2.0
#root
#parent: MacroPlannerWebApp
OrphanComponent FormPRData
{
  #keys: '[414384.0.789711717]'
  BaseType: 'WebForm'
  Children:
  [
    #child: ListPRData_844
  ]
  Properties:
  [
    Title: 'PR'
  ]
}
_Main/UI/MacroPlannerWebApp/Component_FormPRHistoryData/Component_ListPRHistoryData#844.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,105 @@
Quintiq file version 2.0
Component ListPRHistoryData id:ListPRHistoryData_844
{
  #keys: '[414384.0.789711912]'
  BaseType: 'WebList'
  Children:
  [
    Component DataExtractorPRHistoryData
    {
      #keys: '[414384.0.789711913]'
      BaseType: 'WebDataExtractor'
      Properties:
      [
        DataType: 'GlobalOTDTable'
        Source: 'GlobalOTDTable'
        Taborder: 0
        Transformation: 'PRHistoryData'
      ]
    }
    Component DataSetLevelPRHistoryData
    {
      #keys: '[414384.0.789711914]'
      BaseType: 'WebDataSetLevel'
      Children:
      [
        #child: listContextMenuPRHistoryData_1
      ]
      Properties:
      [
        Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"BusinessType","title":"BusinessType","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"BusinessType"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"MRPCalverNo","title":"MRPCalverNo","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"MRPCalverNo"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"OrganCode","title":"OrganCode","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"OrganCode"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ProductID","title":"ProductID","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ProductID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"StockingPointID","title":"StockingPointID","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"StockingPointID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Quantity","title":"Quantity","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Quantity"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SendStatus","title":"SendStatus","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SendStatus"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ReleaseBy","title":"ReleaseBy","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ReleaseBy"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SendDate","title":"SendDate","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SendDate"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ReceiveStatus","title":"ReceiveStatus","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ReceiveStatus"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ReceiveTime","title":"ReceiveTime","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ReceiveTime"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ReceiveError","title":"ReceiveError","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ReceiveError"}}]'
        ContextMenu: 'listContextMenuPRHistoryData'
        SortCriteria: 'BusinessType;MRPCalverNo'
        Taborder: 1
      ]
    }
    #child: listActionBarPagePRHistoryData_1
  ]
  Properties:
  [
    Taborder: 0
  ]
  ResponseDefinitions:
  [
    DelegatedResponseDefinition OnClick id:Responsedef_ListPRHistoryData_844_WebMenu_OnClick
    {
      #keys: '[414384.0.789711907]'
      Initiator: 'WebMenu'
      IsInherited: false
      ResponseType: 'OnClick'
      Arguments:
      [
        ResponseDefinitionArgument selection
        {
          #keys: '[2651.0.25404553]'
          Binding: 'this.Selection()'
        }
      ]
    }
    DelegatedResponseDefinition OnClick id:Responsedef_ListPRHistoryData_844_WebButton_OnClick
    {
      #keys: '[414384.0.789711906]'
      Initiator: 'WebButton'
      IsInherited: false
      ResponseType: 'OnClick'
      Arguments:
      [
        ResponseDefinitionArgument selection
        {
          #keys: '[6763.0.7953347]'
          Binding: 'this.Selection()'
        }
      ]
    }
    DelegatedResponseDefinition OnClick id:Responsedef_ListPRHistoryData_844_WebMenu_OnClick_799
    {
      #keys: '[414384.0.789711905]'
      Initiator: 'WebMenu'
      IsInherited: false
      ResponseType: 'OnClick'
      Arguments:
      [
        ResponseDefinitionArgument checked
        {
          #keys: '[6763.0.7953392]'
          Binding: 'this.Checked()'
        }
      ]
    }
    DelegatedResponseDefinition OnClick id:Responsedef_ListPRHistoryData_844_WebButton_OnClick_801
    {
      #keys: '[414384.0.789711904]'
      Initiator: 'WebButton'
      IsInherited: false
      ResponseType: 'OnClick'
      Arguments:
      [
        ResponseDefinitionArgument checked
        {
          #keys: '[6763.0.7953437]'
          Binding: 'this.Checked()'
        }
      ]
    }
  ]
}
_Main/UI/MacroPlannerWebApp/Component_FormPRHistoryData/Component_listActionBarPagePRHistoryData#1.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,10 @@
Quintiq file version 2.0
Component listActionBarPagePRHistoryData id:listActionBarPagePRHistoryData_1
{
  #keys: '[414384.0.789711919]'
  BaseType: 'listActionBarPage'
  Properties:
  [
    Taborder: 2
  ]
}
_Main/UI/MacroPlannerWebApp/Component_FormPRHistoryData/Component_listContextMenuPRHistoryData#1.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,24 @@
Quintiq file version 2.0
Component listContextMenuPRHistoryData id:listContextMenuPRHistoryData_1
{
  #keys: '[414384.0.789711915]'
  BaseType: 'listContextMenu'
  Children:
  [
    Component MenuCall id:MenuCall_94
    {
      #keys: '[414384.0.793461623]'
      BaseType: 'WebMenu'
      Properties:
      [
        Image: 'MEDIA_PLAY_GREEN'
        Taborder: 3
        Title: 'Call'
      ]
    }
  ]
  Properties:
  [
    Taborder: 0
  ]
}
_Main/UI/MacroPlannerWebApp/Component_FormPRHistoryData/Response_ListPRHistoryData_844_MenuCall_OnClick.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,21 @@
Quintiq file version 2.0
#parent: ListPRHistoryData_844
Response OnClick (
  structured[PRHistoryData] selection
) id:Response_ListPRHistoryData_844_MenuCall_OnClick
{
  #keys: '[414384.0.793461657]'
  CanBindMultiple: false
  DefinitionID => /ListPRHistoryData_844/Responsedef_ListPRHistoryData_844_WebMenu_OnClick
  GroupServerCalls: true
  Initiator: 'MenuCall'
  QuillAction
  {
    Body:
    [*
      if( WebMessageBox::Question( "是否发送选中的数据?" ) = 0 ) {
        PRHistoryData::ReCall( selection, ApplicationMacroPlanner.GetUserName() );
      }
    *]
  }
}
_Main/UI/MacroPlannerWebApp/Component_FormPRHistoryData/_ROOT_Component_FormPRHistoryData.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,16 @@
Quintiq file version 2.0
#root
#parent: MacroPlannerWebApp
OrphanComponent FormPRHistoryData
{
  #keys: '[414384.0.789711755]'
  BaseType: 'WebForm'
  Children:
  [
    #child: ListPRHistoryData_844
  ]
  Properties:
  [
    Title: 'PR History'
  ]
}