Extend Enum PrintMgmtDocumentType and add new enum : SORouting
Extend Enum PrintMgmtNodeTypeand add new enum :SORouting
Add new Document Type :
[ExtensionOf(Classstr(PrintMgmtNode_Sales))]
final class CITPrintMgmtNode_Sales_Extension
{
public List getDocumentTypes()
{
List docTypes;
docTypes = new List(Types::Enum);
docTypes = next getDocumentTypes();
docTypes.addEnd(PrintMgmtDocumentType::SORouting);
return docTypes;
}
}
PrintMgmtDocumentType.CITExtension
====================================================================
[ExtensionOf(classStr(PrintMgmtReportFormatPopulator))]
public final class CITPrintMgmtReportFormatPopulator_Extension
{
//LogisticsAddressCountryRegionISOCode isoCountryCode;
//LogisticsAddressCountryRegionId countryRegionId;
#ISOCountryRegionCodes
#PrintMgmtSetup
protected void addDocuments()
{
next addDocuments();
// this.add(PrintMgmtDocumentType::SORouting);
this.addOther(PrintMgmtDocumentType::CITSORouting, ssrsReportStr(CITSalesConfirm, SORouting), ssrsReportStr(CITSalesConfirm, SORouting), #NoCountryRegionId);
}
}
====================================================================
Extend Enum PrintMgmtNodeTypeand add new enum :SORouting
Add new Document Type :
[ExtensionOf(Classstr(PrintMgmtNode_Sales))]
final class CITPrintMgmtNode_Sales_Extension
{
public List getDocumentTypes()
{
List docTypes;
docTypes = new List(Types::Enum);
docTypes = next getDocumentTypes();
docTypes.addEnd(PrintMgmtDocumentType::SORouting);
return docTypes;
}
}
PrintMgmtDocumentType.CITExtension
====================================================================
[ExtensionOf(classStr(PrintMgmtReportFormatPopulator))]
public final class CITPrintMgmtReportFormatPopulator_Extension
{
//LogisticsAddressCountryRegionISOCode isoCountryCode;
//LogisticsAddressCountryRegionId countryRegionId;
#ISOCountryRegionCodes
#PrintMgmtSetup
protected void addDocuments()
{
next addDocuments();
// this.add(PrintMgmtDocumentType::SORouting);
this.addOther(PrintMgmtDocumentType::CITSORouting, ssrsReportStr(CITSalesConfirm, SORouting), ssrsReportStr(CITSalesConfirm, SORouting), #NoCountryRegionId);
}
}
====================================================================
No comments:
Post a Comment