Exemplo n.º 1
0
        public string Add_ReferenceNumber(Article article)
        {
            c506.E1153 = C506.E1153_LI;

            if (utility.HasBlockSet(article))
            {
                c506.E1154 = RFF_A.BlockSetNumber_LI;
            }
            else
            {
                c506.E1154 = article.ObjectId.ToString();
            }

            OrderWrite.segmentNumberBetweenUNHandUNT += 1;
            return(this.BuildLine());
        }
Exemplo n.º 2
0
        public string Add_TypeNo(Article article)
        {
            string reference = article.KeyRef;

            if (utility.HasBlockSet(article))
            {
                reference = article.Ref;
            }

            _e4347     = PIA_A.E4347_5;
            c212.E7140 = Tools.DelCharAndAllAfter(reference, KD.StringTools.Const.Underscore);
            c212.E7143 = C212.E7143_SA;
            c212.E3055 = C212.E3055_91;

            OrderWrite.segmentNumberBetweenUNHandUNT += 1;
            return(BuildLine());
        }