更新来源单据

by 嘉山 2018.1.16 14:40

注:脚本执行有风险,对于客户正式环境请在研发指导下执行。

        /// <summary>
        /// 更新来源单据已立账信息
        /// 目的: 更新来源“订单/出货单/预出货单/退货单/内部交易清单/税务发票/销售费用”
        /// </summary>
        public void UpdateProcess()
        {
            foreach (ARBillHead head in aRBillHeads)
            {
                //if ((head.AccrueBy.Code == "SD01" || head.AccrueBy.Code == "SD02" || head.AccrueBy.Code == "SD03" || head.AccrueBy.Code == "SD04" || head.AccrueBy.Code == "SD14") && head.AccrueMode == ARAPAccrueModeEnum.NotBillAccrue)
                //{
                //    continue;
                //}
                PrepareSrcAccruedInfo(head);
                UpdateMSFAccrueInfo(head, operateMode);
            }
            ExcuteUpdateSrcBill();


        }

Tags:

评论 (5) -

Jim wrote at 2019/4/8 10:36:25 #

Thanks. That's what I'm looking for.
https://spanishdictionary.cc/

mcafee.com/activate wrote at 2019/5/25 17:18:23 #

Get the easy Steps to install and activate McAfee, enter your 25-digit alphanumaric product key at mcafee.com/activate for mcafee activate.
visit- https://mmcafeecomactivate.com/
https://us-mcafeecomactivate.com/

bryan_ruffin wrote at 2019/7/26 12:46:28 #

Thank you for your post, I look for such article along time, today I find it finally. this post gives me lots of advise it is very useful for me.
https://geometrydashfree.com/

ducklife wrote at 2019/8/22 14:55:40 #

I appreciate it !. I really like it when people are together and sharing ideas. Great site, keep up the good work !. Either way, the web is great and I look forward to seeing it grow over time. Thanks very much.
https://vex-3.com

<a href="http://run-3.online">run 3</a> wrote at 2019/8/23 16:38:31 #

This is a great thing, I think everyone feels this information is very valuable, thank you https://basketball-legends.online

添加评论



biuquote
微笑得意调皮害羞酷大笑惊讶发呆喜欢可怜尴尬闭嘴噘嘴皱眉伤心抓狂呕吐坏笑漫骂发怒
Loading


RecentComments

评论 RSS

Statistics

989 篇文章
0 个单页
540731 条评论
11 次评分
57535 次访问
访问统计开始于 2019年9月14日
平均日访问 6392 次
当前 130 人在线