已重命名5个文件
已添加25个文件
已修改20个文件
已删除3个文件
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Relation Global_MappingProviderCapacity_GlobalOTDTable_GlobalOTDTable_Global_MappingProviderCapacity |
| | | { |
| | | #keys: '1[414384.0.953290006]' |
| | | DefaultRelationStrategy |
| | | { |
| | | } |
| | | RelationSide.LeftSide GlobalOTDTable |
| | | { |
| | | #keys: '3[414384.0.953290008][414384.0.953290007][414384.0.953290009]' |
| | | Cardinality: '0to1' |
| | | ObjectDefinition: Global_MappingProviderCapacity |
| | | OwningSide: 'Reference' |
| | | } |
| | | RelationSide.RightSide Global_MappingProviderCapacity |
| | | { |
| | | #keys: '3[414384.0.953290011][414384.0.953290010][414384.0.953290012]' |
| | | Cardinality: '1toN' |
| | | ObjectDefinition: GlobalOTDTable |
| | | OwningSide: 'Owned' |
| | | } |
| | | } |
| | |
| | | |
| | | request.BusinessType( history.BusinessType() ); |
| | | request.DataID( history.DataID() ); |
| | | request.DeliveryDate( history.ProduceRequiredDate() ); |
| | | request.DeliveryDate( history.DeliveryDate() ); |
| | | request.MRPCalverNo( history.MRPCalverNo() ); |
| | | request.OrganCode( history.OrganCode() ); |
| | | request.ProductID( history.ProductID() ); |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute DestinationOrganizationId |
| | | { |
| | | #keys: '3[414384.0.953284686][414384.0.953284685][414384.0.953284687]' |
| | | Description: 'ç®çå°ç»ç»id' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute OrganId |
| | | { |
| | | #keys: '3[414384.0.953284696][414384.0.953284695][414384.0.953284697]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod GetByProductId ( |
| | | GlobalOTDTable otdTable, |
| | | String productId |
| | | ) as Global_MappingOperation |
| | | { |
| | | TextBody: |
| | | [* |
| | | // yypsybs Oct-9-2023 (created) |
| | | return select( otdTable, Global_MappingOperation, item, item.ProductID() = productId ); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod GetByProductId ( |
| | | GlobalOTDTable parent, |
| | | String productId |
| | | ) as Global_MappingProduct_MP |
| | | { |
| | | Description: 'æ ¹æ®æå·æ¥è®°å½' |
| | | TextBody: |
| | | [* |
| | | // yypsybs Sep-12-2023 (created) |
| | | value := select( parent, Global_MappingProduct_MP, item, item.ID() = productId ); |
| | | return value; |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute ActualCapacity |
| | | { |
| | | #keys: '3[414384.0.957354916][414384.0.957354915][414384.0.957354917]' |
| | | Description: 'æ¥äº¤è´§è½å' |
| | | ValueType: Number |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute IsPartRecognition |
| | | { |
| | | #keys: '3[414384.0.957354904][414384.0.957354903][414384.0.957354905]' |
| | | Description: 'é¶ä»¶æ¿è®¤' |
| | | ValueType: Boolean |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute IsSecondSource |
| | | { |
| | | #keys: '3[414384.0.957354907][414384.0.957354906][414384.0.957354908]' |
| | | Description: 'æ¯å¦äºä¾' |
| | | ValueType: Boolean |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute IsSpecialDisplay |
| | | { |
| | | #keys: '3[414384.0.957354901][414384.0.957354900][414384.0.957354902]' |
| | | Description: 'æ¯å¦ä¸æ¾' |
| | | ValueType: Boolean |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute LeadTime |
| | | { |
| | | #keys: '3[414384.0.957354919][414384.0.957354918][414384.0.957354920]' |
| | | Description: 'L/T' |
| | | ValueType: Number |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute LotSize |
| | | { |
| | | #keys: '3[414384.0.957354925][414384.0.957354924][414384.0.957354926]' |
| | | Description: 'æå°å
è£
é' |
| | | ValueType: Number |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute MinimumQuantity |
| | | { |
| | | #keys: '3[414384.0.957354922][414384.0.957354921][414384.0.957354923]' |
| | | Description: 'æå°è®¢è´§é' |
| | | ValueType: Number |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute ProductID |
| | | { |
| | | #keys: '3[414384.0.957354895][414384.0.957354894][414384.0.957354896]' |
| | | Description: 'ç©æç¼ç ' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute ProductName |
| | | { |
| | | #keys: '3[414384.0.957354892][414384.0.957354891][414384.0.957354893]' |
| | | Description: 'ç©æè¯´æ' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute ProviderName |
| | | { |
| | | #keys: '3[414384.0.957354910][414384.0.957354909][414384.0.957354911]' |
| | | Description: 'ä¾åºååç§°' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute Rate |
| | | { |
| | | #keys: '3[414384.0.957354928][414384.0.957354927][414384.0.957354929]' |
| | | Description: 'æ¯ä¾' |
| | | ValueType: Number |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute StockingPointID |
| | | { |
| | | #keys: '3[414384.0.957354913][414384.0.957354912][414384.0.957354914]' |
| | | Description: 'åºåç¹' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute UnitOfMeasureName |
| | | { |
| | | #keys: '3[414384.0.957354898][414384.0.957354897][414384.0.957354899]' |
| | | Description: 'åä½' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod GetByProductId ( |
| | | GlobalOTDTable parent, |
| | | String productId |
| | | ) as Global_MappingProviderCapacity |
| | | { |
| | | TextBody: |
| | | [* |
| | | // yypsybs Oct-10-2023 (created) |
| | | return select( parent, Global_MappingProviderCapacity, item, item.ProductID() = productId ); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: #DomainModel |
| | | Type Global_MappingProviderCapacity |
| | | { |
| | | #keys: '5[414384.0.957354887][414384.0.957354885][0.0.0][414384.0.957354886][414384.0.957354888]' |
| | | BaseType: Object |
| | | Description: 'ä¾åºåè½å' |
| | | StructuredName: 'Global_MappingProviderCapacitys' |
| | | } |
ÎļþÃû´Ó _Main/BL/Type_PRData/Attribute_SendBy.qbl ÐÞ¸Ä |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute SendBy |
| | | Attribute CreateBy |
| | | { |
| | | #keys: '3[414384.0.789498519][414384.0.789498518][414384.0.789498520]' |
| | | Description: 'åé人' |
ÎļþÃû´Ó _Main/BL/Type_PRData/Attribute_SendTIme.qbl ÐÞ¸Ä |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute SendTime |
| | | Attribute CreateTime |
| | | { |
| | | #keys: '3[414384.0.789498516][414384.0.789498515][414384.0.789498517]' |
| | | Description: 'åéæ¶é´' |
ÎļþÃû´Ó _Main/BL/Type_PRData/Attribute_SendTimeString.qbl ÐÞ¸Ä |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute SendTimeString |
| | | Attribute CreateTimeString |
| | | { |
| | | #keys: '3[414384.0.847354596][414384.0.847354595][414384.0.847354597]' |
| | | ValueType: String |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute DeliveryDate |
| | | { |
| | | #keys: '3[414384.0.957354843][414384.0.957354842][414384.0.957354844]' |
| | | Description: 'äº¤è´§æ¥æ' |
| | | ValueType: Date |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute LineAttribute3 |
| | | { |
| | | #keys: '3[414384.0.953290077][414384.0.953290076][414384.0.953290078]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute OrganName |
| | | { |
| | | #keys: '3[414384.0.953290043][414384.0.953290042][414384.0.953290044]' |
| | | Description: 'ç»ç»åç§°' |
| | | ValueType: String |
| | | } |
ÎļþÃû´Ó _Main/BL/Type_PRData/Attribute_SendStatus.qbl ÐÞ¸Ä |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute SendStatus |
| | | Attribute PRReleaseStatus |
| | | { |
| | | #keys: '3[414384.0.789498513][414384.0.789498512][414384.0.789498514]' |
| | | Description: 'PRæ°æ®åéç¶æ' |
| | |
| | | [* |
| | | // yypsybs Sep-19-2023 (created) |
| | | value := ""; |
| | | if( this.SendStatus() <> "" ) { |
| | | if( this.PRReleaseStatus() <> "" ) { |
| | | cnv := DateTimeToString::StandardConverter(); |
| | | cnv.SetCustomConversion(); |
| | | cnv.CustomFormatString( "yyyy/MM/dd H:mm:ss" ); |
| | | |
| | | value := guard( cnv.Convert( this.SendTime() ), "" ); |
| | | value := guard( cnv.Convert( this.CreateTime() ), "" ); |
| | | } |
| | | this.SendTimeString( value ); |
| | | this.CreateTimeString( value ); |
| | | *] |
| | | } |
| | |
| | | |
| | | // ç
§æ¬é¨å |
| | | result.AuthorizationStatus( this.AuthorizationStatus() ); |
| | | |
| | | result.BusinessType( this.BusinessType() ); |
| | | result.DataID( this.DataID() ); |
| | | result.DeliverToRequestorId( this.DeliverToRequestorId() ); |
| | |
| | | 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.PreparerID( this.PreparerId() ); |
| | | result.DeliveryDate( this.DeliveryDate() ); |
| | | result.ProductID( this.ProductID() ); |
| | | result.ProductName( this.ProductName() ); |
| | | result.ProviderCode( this.ProviderCode() ); |
| | |
| | | result.SendStatus( "å·²åé" ); |
| | | result.ReleaseBy( callBy ); |
| | | result.SendTime( DateTime::Now() ); |
| | | this.SendStatus( "å·²åé" ); |
| | | this.SendTime( DateTime::Now() ); |
| | | this.SendBy( callBy ); |
| | | this.PRReleaseStatus( "å·²åé" ); |
| | | this.CreateTime( DateTime::Now() ); |
| | | this.CreateBy( callBy ); |
| | | |
| | | return result; |
| | | *] |
| | |
| | | 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.PreparerID( this.PreparerId() ); |
| | | result.DeliveryDate( this.DeliveryDate() ); |
| | | result.ProductID( this.ProductID() ); |
| | | result.ProductName( this.ProductName() ); |
| | | result.ProviderCode( this.ProviderCode() ); |
| | |
| | | if( toCalls.Size() = 0 ) { |
| | | feedback_o := "No checked PR"; |
| | | } else { |
| | | havaUnsent := exists( toCalls, Elements, toCall, toCall.SendStatus() = "" ); |
| | | havaUnsent := exists( toCalls, Elements, toCall, toCall.PRReleaseStatus() = "" ); |
| | | if( not havaUnsent ) { |
| | | feedback_o := "No unsent PR"; |
| | | } |
| | |
| | | // yypsybs Sep-12-2023 (created) |
| | | info( "DoCall " + [String]toCalls.Size() + " PRs" ); |
| | | nowNo := 1; |
| | | traverse( toCalls, Elements, toCall, toCall.SendStatus() = "" ) { |
| | | traverse( toCalls, Elements, toCall, toCall.PRReleaseStatus() = "" ) { |
| | | info ( "DoCall " + [String]nowNo + "/" + [String]toCalls.Size() + " PR" ); |
| | | toCall.DoCall( globalData, callBy ); |
| | | nowNo := nowNo + 1; |
| | |
| | | PRData::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, toExport.ProductID(), "ç©æç¼ç " ); |
| | | PRData::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, toExport.ProductName(), "ç©æåç§°" ); |
| | | PRData::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, toExport.IsPanelMaterial(), "颿¿ç©ææ è¯" ); |
| | | PRData::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, ifexpr( toExport.ProduceRequiredDate() = Date::MinDate(), "", dateToString.Convert( toExport.ProduceRequiredDate() ) ), "äº¤è´§æ¥æ" ); |
| | | PRData::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, ifexpr( toExport.DeliveryDate() = Date::MinDate(), "", dateToString.Convert( toExport.DeliveryDate() ) ), "äº¤è´§æ¥æ" ); |
| | | PRData::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, ifexpr( toExport.PRSuggestionDate() = Date::MinDate(), "", dateToString.Convert( toExport.PRSuggestionDate() ) ), "PRå»ºè®®æ¥æ" ); |
| | | PRData::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, [String]toExport.Quantity(), "交货æ°é" ); |
| | | PRData::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, toExport.MRPCalverNo(), "MRP计ç®çæ¬å·" ); |
| | |
| | | PRData::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, toExport.ProviderName(), "ä¾åºååç§°" ); |
| | | PRData::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, toExport.StockingPointID(), "æ¶è´§åºåç¹" ); |
| | | PRData::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, toExport.UnitOfMeasure(), "计éåä½" ); |
| | | PRData::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, toExport.SendStatus(), "PRæ°æ®åéç¶æ" ); |
| | | PRData::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, toExport.SendTimeString(), "åéæ¶é´" ); |
| | | PRData::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, toExport.SendBy(), "åé人" ); |
| | | PRData::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, toExport.PRReleaseStatus(), "PRæ°æ®åéç¶æ" ); |
| | | PRData::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, toExport.CreateTimeString(), "åéæ¶é´" ); |
| | | PRData::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, toExport.CreateBy(), "åé人" ); |
| | | } |
| | | |
| | | xmlDOMSerializer := xmlDOMImplementation.CreateSerializer(); |
| | |
| | | StaticMethod FromSupplyPlanning ( |
| | | GlobalOTDTable otdTable, |
| | | MacroPlan macroPlan, |
| | | MacroPlan mappingRoot, |
| | | ProductInStockingPointInPeriod pispip |
| | | ProductInStockingPointInPeriod pispip, |
| | | String userId |
| | | ) 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() ); |
| | | // QID7 |
| | | mappingProduct := Global_MappingProduct_MP::GetByProductId( otdTable, product.ID() ); |
| | | // QID12 |
| | | mappingOperation := Global_MappingOperation::GetByProductId( otdTable, product.ID() ); |
| | | // QID15 |
| | | mappingProviderCapacity := Global_MappingProviderCapacity::GetByProductId( otdTable, product.ID() ); |
| | | matAttrSetting := MatAttrSettingAndPlanStrategy::GetExistByMatCode( otdTable, product.ID() ); |
| | | // æ¥å£/ä¸é´è¡¨ææ |
| | | mappingProviderCapacity := "ææ "; |
| | | erpData := "ææ "; |
| | | |
| | | // æ ¹æ®pispip |
| | | result.MRPCalverNo( ifexpr( pispip.MRPCalverNo() = "", "ææ ", pispip.MRPCalverNo() ) ); |
| | |
| | | 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() ) ); |
| | | result.DeliveryDate( period.StartDate() ); |
| | | result.PRSuggestionDate( ifexpr( (result.DeliveryDate() - Duration::Days( 7 )).Date() >= Date::Today(), |
| | | Date::Today(), (result.DeliveryDate() - Duration::Days( 7 )).Date() ) ); |
| | | |
| | | // æ ¹æ® ç©æå±æ§æ ç¾è®¾å®&ç©æè®¡åçç¥ |
| | | result.IsPanelMaterial( "ææ " ); |
| | |
| | | result.MaterialMRPType( ifexpr( matAttrSetting.PlanningStrategyCustom() <> "", matAttrSetting.PlanningStrategyCustom(), matAttrSetting.PlanningStrategyAuto() ) ); |
| | | } |
| | | |
| | | |
| | | // æ ¹æ®productä¸é´è¡¨ |
| | | if( isnull( mappingProduct ) ) { |
| | | result.BusinessType( "ææ " ); |
| | | result.OrganCode( "ææ " ); |
| | | result.UnitOfMeasure( "ææ " ); |
| | | } else { |
| | | result.BusinessType( mappingProduct.BusinessType() ); |
| | | result.OrganCode( mappingProduct.OrgCode() ); |
| | | result.UnitOfMeasure( mappingProduct.UnitOfMeasureName() ); |
| | | } |
| | | result.InterfaceSourceCode( "Quintiq_" + result.BusinessType() ); |
| | | |
| | | // æ ¹æ®operationä¸é´è¡¨ |
| | | if( isnull( mappingOperation ) ) { |
| | | result.OrgId( "ææ " ); |
| | | result.OrganCode( "ææ " ); |
| | | result.OrganName( "ææ " ); |
| | | result.DestinationOrganizationID( "ææ " ); |
| | | } else { |
| | | result.OrgId( mappingOperation.OrganId() ); |
| | | result.OrganCode( mappingOperation.OrganCode() ); |
| | | result.OrganName( mappingOperation.OrganName() ); |
| | | result.DestinationOrganizationID( mappingOperation.DestinationOrganizationId() ); |
| | | } |
| | | |
| | | // æ ¹æ®ä¾åºåè½åä¸é´è¡¨ |
| | | result.ProviderCode( mappingProviderCapacity ); |
| | | result.ProductName( mappingProviderCapacity ); |
| | | if( isnull( mappingProviderCapacity ) ) { |
| | | result.ProviderCode( "ææ " ); |
| | | result.ProviderName( "ææ " ); |
| | | result.LeadTime( 0.0 ); |
| | | result.UnitOfMeasure( "ææ " ); |
| | | } else { |
| | | result.ProviderCode( "ææ " ); |
| | | result.ProviderName( mappingProviderCapacity.ProviderName() ); |
| | | result.LeadTime( mappingProviderCapacity.LeadTime() ); |
| | | result.UnitOfMeasure( mappingProviderCapacity.UnitOfMeasureName() ); |
| | | } |
| | | |
| | | // æ ¹æ®erpæ¥å£ åºå®å¼ |
| | | result.RequisitionType( "PURCHASE" ); |
| | |
| | | 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 ); |
| | | result.LineAttribute1( "" ); |
| | | result.LineAttribute3( "" ); |
| | | result.LineAttribute6( "" ); |
| | | |
| | | // çæid todo |
| | | result.DataID( [String]Number::Random( Number::MinNumber(), Number::MaxNumber() ) ); |
| | | // ç¨æ·id/name |
| | | result.PreparerId( userId ); |
| | | result.HeaderDescription( userId ); |
| | | result.DeliverToRequestorId( result.PreparerId() ); |
| | | |
| | | // çæid |
| | | cnv := DateTimeToString::StandardConverter(); |
| | | cnv.SetCustomConversion(); |
| | | cnv.CustomFormatString( "yyyyMMdd_H:mm:ss" ); |
| | | result.DataID( cnv.Convert( DateTime::ActualTime() ) + "_" + [String]Number::Random( Number::MinNumber(), Number::MaxNumber() ) ); |
| | | |
| | | // åéä¿¡æ¯ |
| | | result.SendStatus( "" ); |
| | | result.SendBy( "" ); |
| | | result.SendTime( DateTime::MinDateTime() ); |
| | | result.PRReleaseStatus( "" ); |
| | | result.CreateBy( "" ); |
| | | result.CreateTime( DateTime::MinDateTime() ); |
| | | |
| | | return result; |
| | | *] |
| | |
| | | StaticMethod FromSupplyPlanning ( |
| | | GlobalOTDTable otdTable, |
| | | MacroPlan macroPlan, |
| | | MacroPlan mappingRoot, |
| | | String mrpCalverNo |
| | | String mrpCalverNo, |
| | | String userId |
| | | ) |
| | | { |
| | | Description: |
| | | [* |
| | | SupplyPlanning转PRData |
| | | todo ä¿®æ¹mappingRoot为MPSync |
| | | *] |
| | | Description: 'SupplyPlanning转PRData' |
| | | TextBody: |
| | | [* |
| | | // yypsybs Sep-12-2023 (created) |
| | |
| | | if( isnull( oldRecords ) or oldRecords.Size() = 0 ) { |
| | | pispips := ProductInStockingPointInPeriod::GetByMRPCalverNo( macroPlan, mrpCalverNo ); |
| | | traverse( pispips, Elements, item, item.NewSupplyQuantity() > 0 ) { |
| | | PRData::FromSupplyPlanning( otdTable, macroPlan, mappingRoot, item ); |
| | | PRData::FromSupplyPlanning( otdTable, macroPlan, item, userId ); |
| | | } |
| | | } |
| | | *] |
| | |
| | | result := ""; |
| | | |
| | | productIds := selectuniquevalues( toChecks, Elements, item, |
| | | (item.ProduceRequiredDate() - Duration::Days( 14 )).Date() > Date::Today() and item.SendStatus() = "", |
| | | (item.DeliveryDate() - Duration::Days( 14 )).Date() > Date::Today() and item.PRReleaseStatus() = "", |
| | | item.ProductID() ); |
| | | productIds := selectsortedset( productIds, Elements, item, item ); |
| | | |
| | |
| | | { |
| | | 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, "å·²åé", "" ) ); |
| | | } |
| | | } |
| | | //// 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() ), |
| | | // DeliveryDate := Date::Construct( 2023, |
| | | // Number::Random( 9, 12 ), |
| | | // Number::Random( 13, 28 ) ), |
| | | // DataID := [String]Number::Random( 1, Number::MaxNumber() ), |
| | | // PRReleaseStatus := ifexpr( Number::Random( 1, 5 ) = 1, "å·²åé", "" ) ); |
| | | // } |
| | | //} |
| | | *] |
| | | } |
ÎļþÃû´Ó _Main/BL/Type_PRHistoryData/Attribute_ProduceRequiredDate#168.qbl ÐÞ¸Ä |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute ProduceRequiredDate |
| | | Attribute DeliveryDate |
| | | { |
| | | #keys: '3[414384.0.795671764][414384.0.795671763][414384.0.795671765]' |
| | | Description: 'éæ±æ¥æ/äº¤è´§æ¥æ' |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute PreparerId |
| | | Attribute PreparerID |
| | | { |
| | | #keys: '3[414384.0.795671570][414384.0.795671569][414384.0.795671571]' |
| | | ValueType: String |
| | |
| | | traverse ( toExportList, Elements, toExport ) { |
| | | PRHistoryData::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, toExport.ProductID(), "é¶ä»¶å·" ); |
| | | PRHistoryData::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, toExport.ProductName(), "é¶ä»¶åç§°" ); |
| | | PRHistoryData::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, ifexpr( toExport.ProduceRequiredDate() = Date::MinDate(), "", dateToString.Convert( toExport.ProduceRequiredDate() ) ), "äº¤è´§æ¥æ" ); |
| | | PRHistoryData::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, ifexpr( toExport.DeliveryDate() = Date::MinDate(), "", dateToString.Convert( toExport.DeliveryDate() ) ), "äº¤è´§æ¥æ" ); |
| | | PRHistoryData::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, [String]toExport.Quantity(), "éæ±æ°é" ); |
| | | PRHistoryData::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, toExport.MRPCalverNo(), "MRP计ç®çæ¬å·" ); |
| | | PRHistoryData::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, toExport.BusinessType(), "äºä¸é¨" ); |
| | |
| | | result := ""; |
| | | |
| | | productIds := selectuniquevalues( toChecks, Elements, item, |
| | | (item.ProduceRequiredDate() - Duration::Days( 14 )).Date() > Date::Today() and item.SendStatus() = "", |
| | | (item.DeliveryDate() - Duration::Days( 14 )).Date() > Date::Today() and item.SendStatus() = "", |
| | | item.ProductID() ); |
| | | productIds := selectsortedset( productIds, Elements, item, item ); |
| | | |
| | |
| | | and pispip.MRPCalverNo() = mrpCalverNo |
| | | ); |
| | | } else { |
| | | // æµè¯ç¨é»è¾ï¼æ£å¸¸ä¸åºè¯¥èµ° |
| | | result := selectset( parent, Product_MP.ProductInStockingPoint_MP.ProductInStockingPointInPeriod, pispip, |
| | | true |
| | | ); |
| | | } |
| | | info( "GetByMRPCalverNo : " + [String]result.Size() ); |
| | | return &result; |
| | | *] |
| | | } |
| | |
| | | ] |
| | | Properties: |
| | | [ |
| | | Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ProductID","title":"ProductID","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ProductID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ProductName","title":"ProductName","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ProductName"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"IsPannelMaterial","title":"IsPannelMaterial","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"IsPannelMaterial"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ProduceRequiredDate","title":"ProduceRequiredDate","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ProduceRequiredDate"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"PRSuggestionDate","title":"PRSuggestionDate","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"PRSuggestionDate"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Quantity","title":"Quantity","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Quantity"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"MRPCalverNo","title":"MRPCalverNo","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"MRPCalverNo"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"BusinessType","title":"BusinessType","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"BusinessType"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"OrganCode","title":"OrganCode","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"OrganCode"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"IsLongLeadItem","title":"IsLongLeadItem","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"IsLongLeadItem"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"IsGenericMaterial","title":"IsGenericMaterial","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"IsGenericMaterial"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"MaterialMRPType","title":"MaterialMRPType","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"MaterialMRPType"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"LeadTime","title":"LeadTime","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"LeadTime"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ProviderCode","title":"ProviderCode","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ProviderCode"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ProviderName","title":"ProviderName","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ProviderName"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"StockingPointID","title":"StockingPointID","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"StockingPointID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"UnitOfMeasure","title":"UnitOfMeasure","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"UnitOfMeasure"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SendStatus","title":"SendStatus","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SendStatus"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SendTimeString","title":"SendTimeString","subtotals":"","tooltip":"","width":-1,"display":"shown","attribute":"SendTimeString"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SendBy","title":"SendBy","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SendBy"}}]' |
| | | Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ProductID","title":"ProductID","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ProductID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ProductName","title":"ProductName","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ProductName"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"DeliveryDate","title":"DeliveryDate","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"DeliveryDate"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"PRSuggestionDate","title":"PRSuggestionDate","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"PRSuggestionDate"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Quantity","title":"Quantity","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Quantity"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"MRPCalverNo","title":"MRPCalverNo","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"MRPCalverNo"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"BusinessType","title":"BusinessType","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"BusinessType"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"OrganCode","title":"OrganCode","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"OrganCode"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"IsLongLeadItem","title":"IsLongLeadItem","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"IsLongLeadItem"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"IsGenericMaterial","title":"IsGenericMaterial","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"IsGenericMaterial"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"MaterialMRPType","title":"MaterialMRPType","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"MaterialMRPType"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"LeadTime","title":"LeadTime","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"LeadTime"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ProviderCode","title":"ProviderCode","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ProviderCode"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ProviderName","title":"ProviderName","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ProviderName"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"StockingPointID","title":"StockingPointID","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"StockingPointID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"UnitOfMeasure","title":"UnitOfMeasure","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"UnitOfMeasure"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"PRReleaseStatus","title":"PRReleaseStatus","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"PRReleaseStatus"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"CreateTimeString","title":"CreateTimeString","subtotals":"","tooltip":"","width":-1,"display":"shown","attribute":"CreateTimeString"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"CreateBy","title":"CreateBy","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"CreateBy"}}]' |
| | | ContextMenu: 'listContextMenuPRData' |
| | | SortCriteria: 'BusinessType;MRPCalverNo' |
| | | Taborder: 1 |
| | |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | Precondition: |
| | | [* |
| | | return not isnull( GlobalOTDTable ); |
| | | return not isnull( GlobalOTDTable ) and not isnull( MacroPlan ); |
| | | *] |
| | | QuillAction |
| | | { |
| | |
| | | #keys: '[414384.0.859141084]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | Precondition: |
| | | [* |
| | | return not isnull( MacroPlan ); |
| | | *] |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | MacroPlan.PRData( relflush ); |
| | | PRData::FromSupplyPlanning( GlobalOTDTable, MacroPlan, MacroPlan, "" ); |
| | | PRData::FromSupplyPlanning( GlobalOTDTable, MacroPlan, "", ApplicationMacroPlanner.GetUserName() ); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | |
| | | ] |
| | | Properties: |
| | | [ |
| | | Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ProductID","title":"ProductID","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ProductID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ProductName","title":"ProductName","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ProductName"}},{"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":"MRPCalverNo","title":"MRPCalverNo","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"MRPCalverNo"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"BusinessType","title":"BusinessType","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"BusinessType"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"OrganCode","title":"OrganCode","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"OrganCode"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ProviderCode","title":"ProviderCode","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ProviderCode"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ProviderName","title":"ProviderName","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ProviderName"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"StockingPointID","title":"StockingPointID","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"StockingPointID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"UnitOfMeasure","title":"UnitOfMeasure","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"UnitOfMeasure"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SendStatus","title":"SendStatus","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SendStatus"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SendTimeString","title":"SendTimeString","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SendTimeString"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ReleaseBy","title":"ReleaseBy","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ReleaseBy"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ReceiveTimeString","title":"ReceiveTimeString","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ReceiveTimeString"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ReceiveStatus","title":"ReceiveStatus","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ReceiveStatus"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ReceiveError","title":"ReceiveError","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ReceiveError"}}]' |
| | | Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"DataID","title":"DataID","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"DataID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ProductID","title":"ProductID","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ProductID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ProductName","title":"ProductName","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ProductName"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"DeliveryDate","title":"DeliveryDate","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"DeliveryDate"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Quantity","title":"Quantity","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Quantity"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"MRPCalverNo","title":"MRPCalverNo","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"MRPCalverNo"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"BusinessType","title":"BusinessType","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"BusinessType"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"OrganCode","title":"OrganCode","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"OrganCode"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ProviderCode","title":"ProviderCode","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ProviderCode"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ProviderName","title":"ProviderName","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ProviderName"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"StockingPointID","title":"StockingPointID","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"StockingPointID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"UnitOfMeasure","title":"UnitOfMeasure","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"UnitOfMeasure"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"PreparerID","title":"PreparerID","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"PreparerID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SendStatus","title":"SendStatus","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SendStatus"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SendTimeString","title":"SendTimeString","subtotals":"","tooltip":"","width":-1,"display":"shown","attribute":"SendTimeString"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ReleaseBy","title":"ReleaseBy","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ReleaseBy"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ReceiveStatus","title":"ReceiveStatus","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ReceiveStatus"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ReceiveTimeString","title":"ReceiveTimeString","subtotals":"","tooltip":"","width":-1,"display":"shown","attribute":"ReceiveTimeString"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ReceiveError","title":"ReceiveError","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ReceiveError"}}]' |
| | | ContextMenu: 'listContextMenuPRHistoryData' |
| | | SortCriteria: 'BusinessType;MRPCalverNo' |
| | | Taborder: 1 |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | { |
| | | viewcontents |
| | | { |
| | | image: 'CHART_HI_LO' |
| | | page: 'ActionBarPageScenarioComparison' |
| | | group: '' |
| | | index: 0 |
| | | description: '' |
| | | } |
| | | formatversion: 2 |
| | | id: 'Capacity___sale_budge' |
| | | name: 'Capacity & sale budge' |
| | | isglobal: false |
| | | isroot: true |
| | | } |
| | |
| | | userconfigurableinformation |
| | | { |
| | | } |
| | | index: 0 |
| | | image: 'CHART_HI_LO' |
| | | page: 'ActionBarPageScenarioComparison' |
| | | group: '' |
| | | index: 0 |
| | | description: '' |
| | | } |
| | | formatversion: 2 |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | { |
| | | viewcontents |
| | | { |
| | | forms |
| | | { |
| | | form_legacy_1 |
| | | { |
| | | title: 'Scenario manager' |
| | | shown: true |
| | | componentID: 'FormScenarioManager' |
| | | layout |
| | | { |
| | | mode: 'open' |
| | | rowPosition: 1 |
| | | rowSpan: 8 |
| | | columnPosition: 1 |
| | | columnSpan: 5 |
| | | } |
| | | components |
| | | { |
| | | FormScenarioManager_ListScenario |
| | | { |
| | | } |
| | | FormScenarioManager_DataSetLevelScenario |
| | | { |
| | | groupDepth: -1 |
| | | column_All_constraints |
| | | { |
| | | columnId: 'All constraints' |
| | | dataPath: 'All constraints' |
| | | dataType: 'string' |
| | | title: 'All constraints' |
| | | index: 0 |
| | | subtotals: '' |
| | | width: 100 |
| | | } |
| | | column_Name |
| | | { |
| | | columnId: 'Name' |
| | | dataPath: 'Name' |
| | | dataType: 'string' |
| | | title: 'åç§°' |
| | | index: 1 |
| | | subtotals: '' |
| | | width: 233 |
| | | } |
| | | column_ChangedBy |
| | | { |
| | | columnId: 'ChangedBy' |
| | | dataPath: 'ChangedBy' |
| | | dataType: 'string' |
| | | title: 'Changed by' |
| | | index: 2 |
| | | subtotals: '' |
| | | width: 86 |
| | | } |
| | | column_ChangedOn |
| | | { |
| | | columnId: 'ChangedOn' |
| | | dataPath: 'ChangedOn' |
| | | dataType: 'datetime' |
| | | title: 'Changed on' |
| | | index: 3 |
| | | subtotals: '' |
| | | width: 150 |
| | | } |
| | | column_StorageMode |
| | | { |
| | | columnId: 'StorageMode' |
| | | dataPath: 'StorageMode' |
| | | dataType: 'string' |
| | | title: 'StorageMode' |
| | | index: 4 |
| | | subtotals: '' |
| | | width: 40 |
| | | } |
| | | } |
| | | } |
| | | } |
| | | form_legacy_2 |
| | | { |
| | | title: 'Assumptions' |
| | | shown: true |
| | | componentID: 'FormAssumptions' |
| | | layout |
| | | { |
| | | mode: 'open' |
| | | rowPosition: 9 |
| | | rowSpan: 8 |
| | | columnPosition: 1 |
| | | columnSpan: 5 |
| | | } |
| | | components |
| | | { |
| | | FormAssumptions_ListAssumptions |
| | | { |
| | | } |
| | | FormAssumptions_DataSetLevelAssumptions |
| | | { |
| | | groupDepth: -1 |
| | | column_All_constraints |
| | | { |
| | | columnId: 'All constraints' |
| | | dataPath: 'All constraints' |
| | | dataType: 'string' |
| | | title: 'All constraints' |
| | | index: 0 |
| | | subtotals: '' |
| | | width: 32 |
| | | } |
| | | column_Category |
| | | { |
| | | columnId: 'Category' |
| | | dataPath: 'Category' |
| | | dataType: 'string' |
| | | title: 'ç±»å«' |
| | | index: 1 |
| | | subtotals: '' |
| | | width: 162 |
| | | } |
| | | column_Importance |
| | | { |
| | | columnId: 'Importance' |
| | | dataPath: 'Importance' |
| | | dataType: 'string' |
| | | title: 'éè¦æ§' |
| | | index: 2 |
| | | subtotals: '' |
| | | width: 104 |
| | | } |
| | | column_Title |
| | | { |
| | | columnId: 'Title' |
| | | dataPath: 'Title' |
| | | dataType: 'string' |
| | | title: 'æ é¢' |
| | | index: 3 |
| | | subtotals: '' |
| | | width: 150 |
| | | } |
| | | column_ChangedBy |
| | | { |
| | | columnId: 'ChangedBy' |
| | | dataPath: 'ChangedBy' |
| | | dataType: 'string' |
| | | title: 'Changed by' |
| | | index: 4 |
| | | subtotals: '' |
| | | width: 92 |
| | | } |
| | | column_CreatedOn |
| | | { |
| | | columnId: 'CreatedOn' |
| | | dataPath: 'CreatedOn' |
| | | dataType: 'datetime' |
| | | title: 'Created on' |
| | | index: 5 |
| | | subtotals: '' |
| | | width: 150 |
| | | } |
| | | } |
| | | } |
| | | } |
| | | form_legacy_4 |
| | | { |
| | | title: 'Supply chain overview' |
| | | shown: true |
| | | componentID: 'FormSupplyChainOverview' |
| | | layout |
| | | { |
| | | mode: 'open' |
| | | rowPosition: 1 |
| | | rowSpan: 16 |
| | | columnPosition: 6 |
| | | columnSpan: 7 |
| | | } |
| | | components |
| | | { |
| | | FormSupplyChainOverview_PanelToolbar |
| | | { |
| | | sizeRatio: 1 |
| | | } |
| | | FormSupplyChainOverview_PanelSCO |
| | | { |
| | | sizeRatio: 1 |
| | | } |
| | | FormSupplyChainOverview_CustomDrawSCO |
| | | { |
| | | forceFitY: false |
| | | zoomX: 1 |
| | | zoomY: 1 |
| | | forceFitX: false |
| | | backendState |
| | | { |
| | | componentId: 'QLibMacroPlannerWebUI::FormSupplyChainOverview.CustomDrawSCO' |
| | | state |
| | | { |
| | | } |
| | | } |
| | | } |
| | | } |
| | | } |
| | | form_FormPRHistoryData |
| | | { |
| | | title: 'QTIANMA_JITUAN::FormPRHistoryData' |
| | | shown: true |
| | | componentID: 'QTIANMA_JITUAN::FormPRHistoryData' |
| | | layout |
| | | { |
| | | mode: 'open' |
| | | rowPosition: 17 |
| | | rowSpan: 6 |
| | | columnPosition: 5 |
| | | columnSpan: 7 |
| | | } |
| | | components |
| | | { |
| | | FormPRHistoryData_PanelPRHistoryButton |
| | | { |
| | | sizeRatio: 1 |
| | | } |
| | | FormPRHistoryData_ListPRHistoryData |
| | | { |
| | | } |
| | | FormPRHistoryData_DataSetLevelPRHistoryData |
| | | { |
| | | groupDepth: -1 |
| | | column_BusinessType |
| | | { |
| | | columnId: 'BusinessType' |
| | | dataPath: 'BusinessType' |
| | | dataType: 'string' |
| | | index: 0 |
| | | subtotals: '' |
| | | width: 150 |
| | | } |
| | | column_MRPCalverNo |
| | | { |
| | | columnId: 'MRPCalverNo' |
| | | dataPath: 'MRPCalverNo' |
| | | dataType: 'string' |
| | | index: 1 |
| | | subtotals: '' |
| | | width: 150 |
| | | } |
| | | column_OrganCode |
| | | { |
| | | columnId: 'OrganCode' |
| | | dataPath: 'OrganCode' |
| | | dataType: 'string' |
| | | index: 2 |
| | | subtotals: '' |
| | | width: 150 |
| | | } |
| | | column_ProductID |
| | | { |
| | | columnId: 'ProductID' |
| | | dataPath: 'ProductID' |
| | | dataType: 'string' |
| | | index: 3 |
| | | subtotals: '' |
| | | width: 150 |
| | | } |
| | | column_StockingPointID |
| | | { |
| | | columnId: 'StockingPointID' |
| | | dataPath: 'StockingPointID' |
| | | dataType: 'string' |
| | | index: 4 |
| | | subtotals: '' |
| | | width: 150 |
| | | } |
| | | column_Quantity |
| | | { |
| | | columnId: 'Quantity' |
| | | dataPath: 'Quantity' |
| | | dataType: 'real' |
| | | index: 5 |
| | | subtotals: '' |
| | | width: 150 |
| | | } |
| | | column_SendStatus |
| | | { |
| | | columnId: 'SendStatus' |
| | | dataPath: 'SendStatus' |
| | | dataType: 'string' |
| | | index: 6 |
| | | subtotals: '' |
| | | width: 150 |
| | | } |
| | | column_ReleaseBy |
| | | { |
| | | columnId: 'ReleaseBy' |
| | | dataPath: 'ReleaseBy' |
| | | dataType: 'string' |
| | | index: 7 |
| | | subtotals: '' |
| | | width: 150 |
| | | } |
| | | column_ReceiveStatus |
| | | { |
| | | columnId: 'ReceiveStatus' |
| | | dataPath: 'ReceiveStatus' |
| | | dataType: 'string' |
| | | index: 8 |
| | | subtotals: '' |
| | | width: 150 |
| | | } |
| | | column_ReceiveError |
| | | { |
| | | columnId: 'ReceiveError' |
| | | dataPath: 'ReceiveError' |
| | | dataType: 'string' |
| | | index: 9 |
| | | subtotals: '' |
| | | width: 150 |
| | | } |
| | | } |
| | | } |
| | | } |
| | | form_FormPRData |
| | | { |
| | | title: 'QTIANMA_JITUAN::FormPRData' |
| | | shown: true |
| | | componentID: 'QTIANMA_JITUAN::FormPRData' |
| | | layout |
| | | { |
| | | mode: 'open' |
| | | rowPosition: 17 |
| | | rowSpan: 6 |
| | | columnPosition: 1 |
| | | columnSpan: 4 |
| | | } |
| | | components |
| | | { |
| | | FormPRData_PanelPRDataButton |
| | | { |
| | | sizeRatio: 1 |
| | | } |
| | | FormPRData_ListPRData |
| | | { |
| | | } |
| | | FormPRData_DataSetLevelPRData |
| | | { |
| | | groupDepth: -1 |
| | | column_MRPCalverNo |
| | | { |
| | | columnId: 'MRPCalverNo' |
| | | dataPath: 'MRPCalverNo' |
| | | dataType: 'string' |
| | | index: 0 |
| | | subtotals: '' |
| | | width: 150 |
| | | } |
| | | column_ProductID |
| | | { |
| | | columnId: 'ProductID' |
| | | dataPath: 'ProductID' |
| | | dataType: 'string' |
| | | index: 1 |
| | | subtotals: '' |
| | | width: 150 |
| | | } |
| | | column_StockingPointID |
| | | { |
| | | columnId: 'StockingPointID' |
| | | dataPath: 'StockingPointID' |
| | | dataType: 'string' |
| | | index: 2 |
| | | subtotals: '' |
| | | width: 150 |
| | | } |
| | | column_ProduceRequiredDate |
| | | { |
| | | columnId: 'ProduceRequiredDate' |
| | | dataPath: 'ProduceRequiredDate' |
| | | dataType: 'date' |
| | | index: 3 |
| | | subtotals: '' |
| | | width: 150 |
| | | } |
| | | column_Quantity |
| | | { |
| | | columnId: 'Quantity' |
| | | dataPath: 'Quantity' |
| | | dataType: 'real' |
| | | index: 4 |
| | | subtotals: '' |
| | | width: 150 |
| | | } |
| | | column_SendStatus |
| | | { |
| | | columnId: 'SendStatus' |
| | | dataPath: 'SendStatus' |
| | | dataType: 'string' |
| | | index: 5 |
| | | subtotals: '' |
| | | width: 150 |
| | | } |
| | | column_SendBy |
| | | { |
| | | columnId: 'SendBy' |
| | | dataPath: 'SendBy' |
| | | dataType: 'string' |
| | | index: 6 |
| | | subtotals: '' |
| | | width: 150 |
| | | } |
| | | } |
| | | } |
| | | } |
| | | } |
| | | userconfigurableinformation |
| | | { |
| | | } |
| | | image: 'WORM' |
| | | page: 'ActionBarPageData' |
| | | group: '' |
| | | index: 0 |
| | | description: 'PRç³è¯·' |
| | | } |
| | | formatversion: 2 |
| | | id: 'PR_DATA' |
| | | name: 'PR_DATA' |
| | | isglobal: false |
| | | isroot: true |
| | | } |